Package casa.lepton.walk
Class TractorWalker
java.lang.Object
casa.lepton.walk.GraphWalker
casa.lepton.walk.TractorWalker
- All Implemented Interfaces:
Walker
Modélisation du comportement d'un tracteur qui : - quitte le hangar (après
une pause aléatoire) - choisi un champ (l'entrée d'un champ) - chemine
jusqu'à l'entrée de ce champ en suivant des routes - sillonne le champ - sort
du champ - retourne au hangar ou choisit un nouveau champ - recommence après
une pause aléatoire dans le hangar.
-
Field Summary
Fields inherited from class casa.lepton.walk.GraphWalker
arrivalNode_, departureNode_, path_, pauseType, speed_, step_, walk_
-
Constructor Summary
-
Method Summary
Methods inherited from class casa.lepton.walk.GraphWalker
getCoord, getCoordAround, getPosition, getShape, getStep, getStep, getUniformValue, getWalk, nextStep, nextStep2, selectNode
-
Constructor Details
-
TractorWalker
-
-
Method Details
-
nextStep
- Overrides:
nextStep
in classGraphWalker
-
computeNextPath
public void computeNextPath(long time) - Overrides:
computeNextPath
in classGraphWalker
-