net.sourceforge.combean.graph.containers
Class NodeSetAdvisor

Package class diagram package NodeSetAdvisor
java.lang.Object
  extended by net.sourceforge.combean.graph.containers.NodeSetAdvisor

public class NodeSetAdvisor
extends Object

An advisor which returns the most suitable NodeSet for a graph

See Also:
NodeSet

Field Summary
static int HASHING_DEPRECATED
           
static int NUM_PROPS
           
static int TRAVERSABLE
          Constants for the properties BitSet.
 
Constructor Summary
NodeSetAdvisor()
           
 
Method Summary
static NodeSet getFastestNodeSet(Graph g)
           
static NodeSet getFastestNodeSet(Graph g, BitSet props)
          Get the fastest node set for the given graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TRAVERSABLE

public static final int TRAVERSABLE
Constants for the properties BitSet.

See Also:
Constant Field Values

HASHING_DEPRECATED

public static final int HASHING_DEPRECATED
See Also:
Constant Field Values

NUM_PROPS

public static final int NUM_PROPS
See Also:
Constant Field Values
Constructor Detail

NodeSetAdvisor

public NodeSetAdvisor()
Method Detail

getFastestNodeSet

public static final NodeSet getFastestNodeSet(Graph g)

getFastestNodeSet

public static final NodeSet getFastestNodeSet(Graph g,
                                              BitSet props)
Get the fastest node set for the given graph.

Parameters:
g -
props - a bitset where each bit corresponds to a required feature of the set (which shall be supported by a fast operation)
Returns:
the fastest node set for the given constellation.