org.kahina.lp
Class LogicProgrammingState
java.lang.Object
org.kahina.core.KahinaState
org.kahina.lp.LogicProgrammingState
- All Implemented Interfaces:
- Serializable, KahinaListener
- Direct Known Subclasses:
- TraleSLDState
public class LogicProgrammingState
- extends KahinaState
- See Also:
- Serialized Form
| Methods inherited from class org.kahina.core.KahinaState |
consoleMessage, getConsoleMessages, getLineReferencesForStep, getMatchCountByBreakpoint, getSelectedStepID, getStepCount, getSteps, getWarnThresholdByBreakpoint, loadSteps, nextStepID, processEvent, retrieve, store |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
primaryBreakpoints
protected List<KahinaBreakpoint> primaryBreakpoints
secondaryBreakpoints
protected List<KahinaBreakpoint> secondaryBreakpoints
primaryWarnPoints
protected List<KahinaBreakpoint> primaryWarnPoints
secondaryWarnPoints
protected List<KahinaBreakpoint> secondaryWarnPoints
skipPoints
protected List<KahinaBreakpoint> skipPoints
creepPoints
protected List<KahinaBreakpoint> creepPoints
failPoints
protected List<KahinaBreakpoint> failPoints
profile
protected LogicProgrammingProfile profile
LogicProgrammingState
public LogicProgrammingState(KahinaController control)
initialize
public void initialize()
- Overrides:
initialize in class KahinaState
breakpointConsoleMessage
public void breakpointConsoleMessage(int stepID,
String message)
consoleMessage
public void consoleMessage(int stepID,
int extID,
int port,
String message)
exceptionConsoleMessage
public void exceptionConsoleMessage(int stepID,
int extID,
String message)
consoleMessage
public void consoleMessage(LogicProgrammingLineReference ref)
getConsoleLineRefForStep
public LogicProgrammingLineReference getConsoleLineRefForStep(int stepID)
getStepTree
public KahinaTree getStepTree()
getSecondaryStepTree
public KahinaTree getSecondaryStepTree()
getPrimaryBreakpoints
public List<KahinaBreakpoint> getPrimaryBreakpoints()
getSecondaryBreakpoints
public List<KahinaBreakpoint> getSecondaryBreakpoints()
getPrimaryWarnPoints
public List<KahinaBreakpoint> getPrimaryWarnPoints()
getSecondaryWarnPoints
public List<KahinaBreakpoint> getSecondaryWarnPoints()
getSkipPoints
public List<KahinaBreakpoint> getSkipPoints()
getCreepPoints
public List<KahinaBreakpoint> getCreepPoints()
getFailPoints
public List<KahinaBreakpoint> getFailPoints()
linkNodes
public void linkNodes(int anchor,
int target)
getLinkTarget
public Integer getLinkTarget(int anchor)
getLinkAnchors
public List<Integer> getLinkAnchors(int target)
getFullProfile
public LogicProgrammingProfile getFullProfile()
hideStep
public void hideStep(int stepID)
- Calling this method indicates that a step should be hidden in the main
tree view because it was skipped over and nevertheless reported by the
logic programming system because it is "unskippable".
- Parameters:
stepID -
getHiddenSteps
public Set<Integer> getHiddenSteps()
- Returns:
- The IDs of the steps that should be hidden in the main tree view
because they were skipped over and nevertheless reported by the logic
programming system because they are "unskippable".
get
public LogicProgrammingStep get(int id)