org.graphstream.algorithm.randomWalk
Class TabuEntity
java.lang.Object
org.graphstream.algorithm.randomWalk.Entity
org.graphstream.algorithm.randomWalk.TabuEntity
public class TabuEntity
- extends Entity
A basic entity that chooses edges at random eventually
avoiding some edges based on a memory of recently traversed
edges.
Method Summary |
void |
init(RandomWalk.Context context,
org.graphstream.graph.Node start)
Start the entity on the given node. |
void |
step()
Should move the entity from its current node to another. |
TabuEntity
public TabuEntity()
init
public void init(RandomWalk.Context context,
org.graphstream.graph.Node start)
- Start the entity on the given node.
- Parameters:
start
- The starting node.
step
public void step()
- Description copied from class:
Entity
- Should move the entity from its current node to another.
Copyright © 2011. All Rights Reserved.