Package | Description |
---|---|
sk.fiit.jim.agent | |
sk.fiit.jim.agent.models | |
sk.fiit.jim.agent.trajectory | |
sk.fiit.jim.annotation.data | |
sk.fiit.jim.annotation.gui |
Modifier and Type | Field and Description |
---|---|
(package private) LinkedList<Annotation> |
Trajectory.moveList |
Modifier and Type | Method and Description |
---|---|
Annotation |
Trajectory.peek() |
Annotation |
Trajectory.poll() |
Modifier and Type | Method and Description |
---|---|
void |
Trajectory.addMove(Annotation a) |
Modifier and Type | Method and Description |
---|---|
void |
Trajectory.addList(LinkedList<Annotation> a) |
Modifier and Type | Method and Description |
---|---|
AgentModel |
AgentModel.afterAction(Annotation annotation)
Returns changed AgentModel object calculated from current agent model
based on specified annotation execution.
|
DynamicObject |
WorldModel.ballAfterAction(Annotation annotation)
Returns ball as dynamic object with new values
based on specified Annotation execution saying how object changes after
Annotation execution.
|
Modifier and Type | Field and Description |
---|---|
(package private) Annotation |
TrajectoryPlanner.lastMove
Stores the last move in the trajectory for purpose of compatibility
testing of the next move.
|
(package private) Annotation |
TrajectoryPlanner.stdWalk
Annotation of the move that is standard for walking.
|
Modifier and Type | Field and Description |
---|---|
(package private) LinkedList<Annotation> |
Trajectory.moveList |
(package private) LinkedList<Annotation> |
TrajectoryPlanner.moves
Queue of moves used to store partial trajectories calculated by rotate() and walk() methods.
|
(package private) ArrayList<Annotation> |
TrajectoryPlanner.rotation
Contains all moves tagged as rotation.
|
(package private) ArrayList<Annotation> |
TrajectoryPlanner.walk
Contains all moves tagged as walk.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
Trajectory.peek()
Returns the annotation of the first move in the trajectory and leaves it in the queue.
|
Annotation |
Trajectory.poll()
Returns the annotation of the first move in the trajectory and removes it.
|
Modifier and Type | Method and Description |
---|---|
void |
Trajectory.addMove(Annotation a)
Adds move at the of the trajectory.
|
Modifier and Type | Method and Description |
---|---|
void |
Trajectory.addList(LinkedList<Annotation> a)
Joins given trajectory at the end of this trajectory.
|
private double |
TrajectoryPlanner.rotateQueue(double angle,
ArrayList<Annotation> list,
double deviation)
Calculates the trajectory of rotating.
|
Modifier and Type | Field and Description |
---|---|
private List<Annotation> |
AnnotationManager.allAnnotations |
private Map<String,Annotation> |
AnnotationManager.annotationIds |
private Map<String,List<Annotation>> |
AnnotationManager.annotations |
(package private) ArrayList<Annotation> |
MoveValidator.moves
Moves list used for validation.
|
Modifier and Type | Method and Description |
---|---|
Annotation |
AnnotationManager.getAnnotationById(String id)
Returns annotation by specified id.
|
static Annotation |
XMLParser.parse(File file)
Parses XML file and creates Annotation object from it.
|
Modifier and Type | Method and Description |
---|---|
List<Annotation> |
AnnotationManager.getAllAnnotations()
Returns list of all annotations.
|
List<Annotation> |
AnnotationManager.getAnnotations(String move)
Returns annotation by specified string.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveValidator.addMove(Annotation move)
Adds move to sequence of moves.
|
static boolean |
MoveValidator.checkAgentState(AgentModel model,
Annotation annotation)
Validation for annotation move.
|
static Document |
XMLCreator.createXML(Annotation annotation)
Creates XML from specified annotation.
|
static boolean |
MoveValidator.sequenceCheck(Annotation first,
Annotation second)
Validation for sequence of two annotation moves.
|
static void |
XMLCreator.serialize(File file,
Annotation annotation)
Serializes specified annotation to specified file.
|
static void |
XMLCreator.serialize(String file,
Annotation annotation)
Serializes specified annotation to specified file.
|
Modifier and Type | Method and Description |
---|---|
void |
MoveValidator.setMoves(ArrayList<Annotation> moves) |
Modifier and Type | Field and Description |
---|---|
(package private) ArrayList<Annotation> |
Window.moves |