org.semanticweb.HermiT.existentials
Interface ExpansionStrategy

All Known Implementing Classes:
CreationOrderStrategy, DepthFirstStrategy, IndividualReuseStrategy, StrategyBase

public interface ExpansionStrategy

Strategy objects are responsible for selecting which existentials should be expanded first, as well as how the new nodes are introduced. The latter is usually delegated to tableau.ExistentialExpansionManager, but strategies are free to provide their own node-introduction implementations (but be careful---it's tough to get right!)


Method Summary
 void assertionAdded(AtomicRole atomicRole, Node nodeFrom, Node nodeTo)
           
 void assertionAdded(Concept concept, Node node)
           
 void assertionRemoved(AtomicRole atomicRole, Node nodeFrom, Node nodeTo)
           
 void assertionRemoved(Concept concept, Node node)
           
 void backtrack()
           
 void branchingPointPushed()
           
 void clear()
           
 boolean expandExistentials()
          The main workhorse of the interface: pick some existential in the current tableau and expand it.
 void initialize(Tableau tableau)
           
 boolean isDeterministic()
           
 void modelFound()
           
 void nodeDestroyed(Node node)
           
 void nodeStatusChanged(Node node)
           
 

Method Detail

initialize

void initialize(Tableau tableau)

clear

void clear()

expandExistentials

boolean expandExistentials()
The main workhorse of the interface: pick some existential in the current tableau and expand it.

Returns:
true if at least one of the extensions changed as the result of the expansion

assertionAdded

void assertionAdded(Concept concept,
                    Node node)

assertionRemoved

void assertionRemoved(Concept concept,
                      Node node)

assertionAdded

void assertionAdded(AtomicRole atomicRole,
                    Node nodeFrom,
                    Node nodeTo)

assertionRemoved

void assertionRemoved(AtomicRole atomicRole,
                      Node nodeFrom,
                      Node nodeTo)

nodeStatusChanged

void nodeStatusChanged(Node node)

nodeDestroyed

void nodeDestroyed(Node node)

branchingPointPushed

void branchingPointPushed()

backtrack

void backtrack()

modelFound

void modelFound()

isDeterministic

boolean isDeterministic()