org.planx.xmlstore.regions
Class LeastInterRegionPolicy
java.lang.Object
org.planx.xmlstore.nodes.NodeNavigator
org.planx.xmlstore.regions.CanonicPolicy
org.planx.xmlstore.regions.LeastInterRegionPolicy
- All Implemented Interfaces:
- Navigator<SystemNode>
public class LeastInterRegionPolicy
- extends CanonicPolicy
Chooses a node with the least outgoing pointers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeastInterRegionPolicy
public LeastInterRegionPolicy()
chooseCanonical
public SystemNode chooseCanonical(List<Compactor.Edge> eqCls)
- Description copied from interface:
Navigator
- Choose the canonical node from among equivalent nodes. This method
will only be called for equivalence classes containing more than one
element.
- Specified by:
chooseCanonical in interface Navigator<SystemNode>- Overrides:
chooseCanonical in class NodeNavigator
owner
protected Region owner(LocalLocator loc)
countOutgoing
protected int countOutgoing(SystemNode node,
Region r)
Copyright © 2010. All Rights Reserved.