net.sourceforge.combean.graph.containers
Class NodeSetAdvisor
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
NodeSetAdvisor
public NodeSetAdvisor()
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.