Package megamek.client.bot.princess
package megamek.client.bot.princess
-
ClassDescriptionHelper class that contains functionality relating mostly to aero unit paths.ArtilleryCommandAndControl class represents the artillery command and control for the bot.The ammo type a fire mission should use, mapped to the artillery munitions it covers.This class handles the creation of firing plans for indirect-fire artillery and other weapons that get used during the targeting phase.A path ranker implementation for most units that evaluates and prioritizes movement paths with the highest score.Simple data structure that holds a separate firing and physical damage number.This contains useful classes and functions for geometric questions the bot algorithm might haveRepresents the commands that the princess can execute.Validates the coverage of a unit in the battlefield.Tracks enemy units and calculates threat scores based on their positions and capabilities.EntityState describes a hypothetical situation an entity could be in when firingFireControl selects which weapons a unit wants to fire and at whom Pay attention to the difference between "guess" and "get".The possible fire control types.This class is a data structure meant to hold Fire Control related state, to keep the FireControl class relatively stateless.FiringPlan is a series of
WeaponFireInfoobjects describing a full attack turnThis data structure contains parameters that may be passed to the "determineBestFiringPlan()"Tracks activity of units on the map.Helper class for Princess AI infantry vs infantry combat decisions.This class is intended to help the bot calculate firing plans for infantry units.This class contains logic to evaluate the damage a unit could sustain from moving a long a move path containing minefieldsMethod for handling morale with Princess.Princess-Bot fire control class used to calculate firing plans for units that can shoot at multiple targets without incurring a penalty.This class contains logic that calculates and stores a) possible paths that units in play can take, and b) their possible locationsThe possible path ranker types.This class handles state information for Princess' path ranking algorithms, as the path ranker and its subclasses are intended to be basically stateless.unit_potential_locations keeps track of all the potential coordinates and facings a unit could reach It tries to keep all the calculations up to date, and do most of the work when the opponent is movingA bot artillery heat-map marker.This class stores all the calculations of probabilities given the rule setManages the center of a swarm of friendly units.Context class to control the units as a swarm.WeaponFireInfo is a wrapper around a WeaponAttackAction that includes probability to hit and expected damage