Package casa.lepton.walk.dynwalk
Class DynGraphWalk
java.lang.Object
casa.lepton.walk.GraphWalk
casa.lepton.walk.dynwalk.DynGraphWalk
- All Implemented Interfaces:
Walk
Un GraphWalk dont des arcs peuvent être supprimés ou ajoutés dynamiquement
Les arcs sont désignés par leur identifiant dans le fichier DGS.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionDynGraphWalk
(casa.util.geom.AreaCar area, long minWait, long maxWait, double minSpeed, double maxSpeed, org.graphstream.graph.Graph graph, String pauseType, Random random) -
Method Summary
Methods inherited from class casa.lepton.walk.GraphWalk
getArea, getDefault, getShape, getShortestPath, putShape, readGraph
-
Constructor Details
-
DynGraphWalk
-
-
Method Details
-
removeEdge
Suppression d'un arc du graphe- Parameters:
id
- identifiant de l'arc
-
addEdge
Ajout d'un arc au graphe- Parameters:
id
- de l'arc qui avait été retiré parremoveEdge(String)
-
getWalker
Description copied from interface:Walk
-