Uses of Class
simuLCS.Vector2D

Packages that use Vector2D
simuLCS   
 

Uses of Vector2D in simuLCS
 

Fields in simuLCS declared as Vector2D
protected  Vector2D AgentClassifier.lastMovVector
          Last movement vector (for the computation of the inertia
protected  Vector2D AgentDuck.lastMovVector
           
 

Methods in simuLCS that return Vector2D
 Vector2D AgentClassifier.getNewMovVectorAccordingTo(ClassifierSet behaviourToConsider, Arena arena, Entity[] others, int nbEntities, java.awt.Graphics2D g, ClassifierSet actionSetToReturn)
          Calculates the New Movement Vector according to the behaviourToConsider.
 Vector2D AgentClassifier.getLastMovVector()
           
abstract  Vector2D Template.getVectorFromAction(Classifier c, Entity me, Entity otherEntity)
          Return the Vector created by the Action part of the classifier
 Vector2D Template.getVectorFromActions(Classifier[] cs, Entity me, Entity otherEntity)
          Return the Vector created by the actions partS of several classifiers
 Vector2D TemplateRSP.getVectorFromAction(Classifier c, Entity me, Entity otherEntity)
          Calculate the Vector generated by the Action part of the Classifier This function gives the meaning of the Action part.
 Vector2D TemplateRSPSimple.getVectorFromAction(Classifier c, Entity me, Entity otherEntity)
          Only the Action Part was modified (4 bits)
 Vector2D TemplateRSPVerySimple.getVectorFromAction(Classifier c, Entity me, Entity otherEntity)
           
 Vector2D Vector2D.getNormalLeft()
          Get a perpendicular vector, on the left
static Vector2D Vector2D.getCorrectedVector(Vector2D movVector, Arena a, Entity me, java.awt.Graphics2D g)
          Correct the vector so that it doesn't bring the Entity outside the Arena.
 

Methods in simuLCS with parameters of type Vector2D
 void AgentClassifier.setLastMovVector(Vector2D lastMovVector)
           
protected  void AgentClassifierLearning.moveAndLearn(java.awt.geom.Point2D nextCoord, Vector2D nextMovVector, Arena arena, Entity[] others, int nbEntities, java.awt.Graphics2D g)
          Moves the Ghost and updates the rules with the reward
 void Vector2D.add(Vector2D v)
          Add the given vector to this vector (it modifies the vector)
static Vector2D Vector2D.getCorrectedVector(Vector2D movVector, Arena a, Entity me, java.awt.Graphics2D g)
          Correct the vector so that it doesn't bring the Entity outside the Arena.
 

Constructors in simuLCS with parameters of type Vector2D
Vector2D(Vector2D v)
          Creates a clone of a given vector