Package | Description |
---|---|
simkit.smdx |
Contains basic classes to represent the entities in a combat simulation.
|
simkit.smdx.animate | |
simkit.smdx.test |
Modifier and Type | Interface and Description |
---|---|
interface |
Target
A Mover that can be acted on by a Munition and is subject to being killed or
damaged.
|
Modifier and Type | Class and Description |
---|---|
class |
AcceleratedMover
Deprecated.
Not yet fully implemented.
|
class |
CircularImpactMunition
A Munition that has an area of effect that is a circle centered around its
aim point.
|
class |
FormationLeader
The guide point (ZZ) for a formation.
|
protected static class |
FormationMoverManager.SurrogateTarget
A Mover with the minimum functionality to provide the data needed to be
the target Mover in Math2D.getIntercept().
|
class |
SimpleTarget
A Target that is only subject to being killed, not damaged.
|
class |
UniformLinearMover
Implementation of Mover with uniform linear motion.
|
Modifier and Type | Field and Description |
---|---|
protected Mover |
CookieCutterSensor.mover
The Mover on which this Sensor resides.
|
protected Mover |
FormationMoverManager.mover
The Mover this manager controls.
|
private Mover |
PathMoverManager.mover
The Movers controlled by this MoverManager.
|
private Mover |
RandomLocationMoverManager.mover
The Mover that this MoverManager manages.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<Mover,Contact> |
CookieCutterMediator.contacts
A cache of Contact objects for each Mover processed by this mediator.
|
protected java.util.Map<Sensor,java.util.Map<Mover,java.lang.Boolean>> |
SensorTargetReferee.inRangeMap
Indicates whether the Mover is in range of the Sensor.
|
protected java.util.Set<Mover> |
SensorTargetReferee.targets
Holds the targets (Movers) registered with this referee.
|
Modifier and Type | Method and Description |
---|---|
Mover |
CookieCutterSensor.getMover()
The Mover on which this Sensor is located.
|
Mover |
FormationMoverManager.getMover()
The Mover this manager controls.
|
Mover |
MoverManager.getMover() |
Mover |
PathMoverManager.getMover()
The Mover controlled by this PathMoverManager
|
Mover |
RandomLocationMoverManager.getMover()
The Mover that this MoverManager manages.
|
Mover |
Sensor.getMover()
Treat as a simulation parameter (should not change after simulation
start)
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Mover> |
SensorTargetReferee.getTargets() |
Modifier and Type | Method and Description |
---|---|
void |
CookieCutterSensor.doEndMove(Mover mover)
Schedules EndMove for this Sensor.
|
void |
FormationMoverManager.doEndMove(Mover m)
If heard from the Mover, then pick a new station point and start moving
to it.
|
void |
MoverManager.doEndMove(Mover mover)
Notifies this MoverManager that the Mover has reached the end of the
current movement.
|
void |
PathMoverManager.doEndMove(Mover m)
When an EndMove event is heard, move to next WayPoint, if there
are any remaining; else, stop.
|
void |
PatrolMoverManager.doEndMove(Mover m)
If this manager's Mover, go to next waypoint if there are any.
|
void |
RandomLocationMoverManager.doEndMove(Mover m)
Notifies this MoverManager that the Mover has completed the current move
causing the Mover to move to another random point.
|
void |
Sensor.doEndMove(Mover mover)
An event that indicates this Sensor has stopped moving.
|
void |
SensorTargetReferee.doEndMove(Mover target)
Does nothing.
|
void |
CookieCutterMediator.doEnterRange(Sensor sensor,
Mover target)
When this event is heard, schedules a Detection event for the Sensor
immediately using a
Contact object supplied by the subclass. |
void |
SensorTargetMediator.doEnterRange(Sensor sensor,
Mover target)
When this event is heard, schedules a Detection event for the Sensor
based on the detection algorithm of the implementing class.
|
void |
SensorTargetReferee.doEnterRange(Sensor sensor,
Mover target)
Schedules ExitRange for when the Mover leaves the detection volume of the
Sensor.
|
void |
CookieCutterMediator.doExitRange(Sensor sensor,
Mover target)
When the range is exited schedules the Undetection event for the
Sensor immediately.
|
void |
SensorTargetMediator.doExitRange(Sensor sensor,
Mover target)
When this event is heard, schedules an Undetection event for the Sensor
based on the detection algorithm of the implementing class.
|
void |
SensorTargetReferee.doExitRange(Sensor sensor,
Mover target)
Sets the in range state of the pair to false.
|
void |
CookieCutterSensor.doStartMove(Mover mover)
Schedules StartMove for this sensor
|
void |
Sensor.doStartMove(Mover mover)
An event that indicates this Sensor has started moving.
|
void |
SensorTargetReferee.doStartMove(Mover target)
Does nothing.
|
double |
SensorTargetReferee.findIntersectionTime(Sensor sensor,
Mover target)
Finds the next time the Mover intersects the detection volume of the
Sensor.
|
protected Contact |
CookieCutterMediator.getContactForEnterRangeEvent(Sensor sensor,
Mover target)
This hook method must be implemented by subclasses to return a
Contact object for the given sensor-target pairing. |
static java.awt.geom.Point2D |
Math2D.getIntercept(Mover pursuer,
double speed,
double range,
Mover target)
Computes the point at which the pursuer is within the given range of the
target.
|
static java.awt.geom.Point2D |
Math2D.getIntercept(Mover pursuer,
double speed,
Mover target)
Computes the Point2D at which the pursuer will intersect the target when
the pursuer moves at the given speed.
|
static java.awt.geom.Point2D |
Math2D.getIntercept(Mover pursuer,
Mover target)
Computes the intersection point when the pursuer goes at maximum speed.
|
static java.awt.geom.Point2D |
Math2D.getInterceptVelocity(Mover pursuer,
double speed,
Mover target) |
static java.awt.geom.Point2D |
Math2D.getInterceptVelocity(Mover pursuer,
Mover target) |
java.awt.geom.Point2D |
StationData.pickPoint(Mover mover)
Returns the next point that a Mover in the formation should attempt to
intercept.
|
protected void |
SensorTargetReferee.processTarget(Mover target)
Recalculates the detection windows for the given Mover.
|
void |
CookieCutterSensor.setMover(Mover mover)
Places this Sensor on the given Mover.
|
void |
FormationMoverManager.setMover(Mover value)
The Mover this manager controls.
|
void |
MoverManager.setMover(Mover mover)
Sets the Mover to be controlled by this MoverManager.
|
void |
PathMoverManager.setMover(Mover newMover)
Sets the Mover that this MoverManager controls.
|
void |
RandomLocationMoverManager.setMover(Mover newMover)
Sets the Mover that this MoverManager controls.
|
void |
Sensor.setMover(Mover mover)
Treat as a simulation parameter (should not change after simulation
start)
|
protected void |
CookieCutterMediator.targetIsEnteringSensorRange(Sensor sensor,
Mover target)
Optional hook method that is invoked upon hearing a
EnterRange
event. |
protected void |
CookieCutterMediator.targetIsExitingSensorRange(Sensor sensor,
Mover target)
Optional hook method that is invoked upon hearing a
ExitRange
event. |
Modifier and Type | Method and Description |
---|---|
static void |
MunitionTargetAdjudicatorFactory.addAdjudicator(java.lang.Class<? extends Munition> munitionClass,
java.lang.Class<? extends Mover> targetClass,
java.lang.Class<? extends Adjudicator> adjudicatorClass)
Creates and adds to the container an Adjudicator of the specified Class.
|
static Mediator |
SensorTargetMediatorFactory.getMediator(java.lang.Class<? extends Sensor> sensorClass,
java.lang.Class<? extends Mover> targetClass) |
Constructor and Description |
---|
CookieCutterSensor(double maxRange,
Mover mover)
Creates a new CookieCutterSensor.
|
CookieCutterSensor(Mover mover,
double maxRange)
Creates a new CookieCutterSensor.
|
FormationMoverManager(Mover m)
Makes a new manager for the given Mover.
|
PathMoverManager(Mover m)
Constructs a new PathMoverManager with no path specified.
|
PathMoverManager(Mover m,
java.util.List<WayPoint> path)
Constructs a new PathMoverManager.
|
PathMoverManager(Mover m,
java.awt.geom.Point2D[] path)
Constructs a new PathMoverManager.
|
PathMoverManager(Mover m,
WayPoint[] path)
Constructs a new PathMoverManager.
|
PatrolMoverManager(Mover mover) |
PatrolMoverManager(Mover mover,
java.util.List<WayPoint> wayPoints) |
PatrolMoverManager(Mover mover,
java.awt.geom.Point2D[] wayPoints)
The speed on each leg is the max speed of the Mover
|
PatrolMoverManager(Mover mover,
WayPoint[] wayPoints) |
RandomLocationMoverManager(Mover mover,
RandomVariate[] location)
Creates a new instance of RandomLocationMoverManager that moves the Mover
at its maximum speedGen.
|
RandomLocationMoverManager(Mover mover,
RandomVariate[] location,
RandomVariate speed)
Creates a new instance of RandomLocationMoverManager.
|
SurrogateTarget(java.awt.geom.Point2D point,
Mover leader)
Creates a new surrogate based on the given initial location and the
velocity of the given Mover.
|
Modifier and Type | Field and Description |
---|---|
private Mover |
MoverIcon.myMover |
Modifier and Type | Method and Description |
---|---|
Mover |
MoverIcon.getMover() |
Mover |
Inspector.getMoverFromObject(java.lang.Object obj) |
Modifier and Type | Method and Description |
---|---|
void |
SandboxFrame.addMover(Mover mover,
java.awt.Color color) |
void |
MoverIcon.setMover(Mover m) |
Constructor and Description |
---|
MoverIcon(Mover mover,
javax.swing.Icon icon)
Creates new MoverImage
|
MoverIcon(Mover m,
javax.swing.Icon icon,
java.awt.geom.Point2D origin) |
TargetIcon(Mover mover,
javax.swing.Icon[] icons,
java.awt.geom.Point2D origin)
Creates a new instance of TargetIcon
|
Modifier and Type | Class and Description |
---|---|
class |
TestShapeTransformIntersectionTests.ThisTestMover |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Mover> |
AnimationTest.entities |
(package private) java.util.Set<Mover> |
TestShapeTransformHitTests.movers |
Modifier and Type | Method and Description |
---|---|
java.util.List<Mover> |
AnimationTest.getMovers() |
Modifier and Type | Method and Description |
---|---|
void |
AnimationTest.addMover(Mover mover)
Adds a new mover.
|
protected Contact |
TestSensorTargetReferee.TestMediator.getContactForEnterRangeEvent(Sensor sensor,
Mover target) |
void |
AnimationTest.removeMover(Mover mover)
Adds a new mover.
|
protected void |
TestSensorTargetReferee.TestMediator.targetIsEnteringSensorRange(Sensor sensor,
Mover target) |
protected void |
TestSensorTargetReferee.TestMediator.targetIsExitingSensorRange(Sensor sensor,
Mover target) |
boolean |
TestShapeTransformHitTests.testPoint(Mover m) |
boolean |
TestShapeTransformIntersectionTests.testPoint(Mover m) |