public class ChoicePointStore extends Object
Constructor and Description |
---|
ChoicePointStore() |
Modifier and Type | Method and Description |
---|---|
void |
add(ChoicePointContext cpc) |
void |
clear() |
void |
cut(ChoicePointContext pointerAfterCut) |
protected boolean |
existChoicePoint()
Check if a choice point exists in the store.
|
ChoicePointContext |
fetch()
Return the correct choice-point
|
List |
getChoicePoints() |
ChoicePointContext |
getPointer()
Return the actual choice-point store
|
protected void |
removeUnusedChoicePoints()
Removes choice points which have been already used and are now empty.
|
String |
toString()
Cut at defined depth (toDepth)
|
public void clear()
public void add(ChoicePointContext cpc)
public void cut(ChoicePointContext pointerAfterCut)
public ChoicePointContext fetch()
public ChoicePointContext getPointer()
protected boolean existChoicePoint()
protected void removeUnusedChoicePoints()
public String toString()
public List getChoicePoints()
Copyright © 2015. All rights reserved.