SearchState
public class VFSearchState extends AbstractSearchState
core_1, core_2, core_len, n1, n2
NULL_NODE, ULLMAN_ALGORITHM, VF_ALGORITHM, VF2_ALGORITHM
Modifier | Constructor | Description |
---|---|---|
protected |
VFSearchState(VFSearchState state) |
|
|
VFSearchState(Graph g1,
Graph g2) |
Modifier and Type | Method | Description |
---|---|---|
void |
addPair(NodePair pair) |
|
void |
backTrack() |
|
SearchState |
copy() |
|
void |
copy(SearchState fromState) |
|
boolean |
isDead() |
|
boolean |
isFeasiblePair(NodePair pair) |
|
boolean |
isGoal() |
|
NodePair |
nextPair(NodePair prev) |
getCoreLen, getCoreSet, getE1, getE1, getE2, getE2, getG1, getG2, getN1, getN1, getN2, getN2, setG1, setG2
protected VFSearchState(VFSearchState state)
public void addPair(NodePair pair)
public void backTrack()
backTrack
in interface SearchState
backTrack
in class AbstractSearchState
public SearchState copy()
public void copy(SearchState fromState)
public boolean isDead()
public boolean isFeasiblePair(NodePair pair)
public boolean isGoal()