org.graphstream.algorithm.randomWalk
Class TabuEntity

java.lang.Object
  extended by org.graphstream.algorithm.randomWalk.Entity
      extended by 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.


Constructor Summary
TabuEntity()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TabuEntity

public TabuEntity()
Method Detail

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.