@PortedFrom(file="CGLabel.h", name="CGLabel") public class CGLabel extends Object implements Serializable
| Constructor and Description |
|---|
CGLabel(JFactReasonerConfiguration config)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(DagTag tag,
ConceptWDep p)
index p by tag, clear caches
|
boolean |
contains(int p) |
boolean |
containsCC(int p) |
boolean |
equals(Object obj) |
ConceptWDep |
getCCConceptWithBP(int bp) |
List<ConceptWDep> |
getComplexConcepts() |
ArrayIntMap |
getComplexConceptsMap() |
ConceptWDep |
getConceptWithBP(int bp) |
CWDArray |
getLabel(DagTag tag) |
ConceptWDep |
getSCConceptWithBP(int bp) |
List<ConceptWDep> |
getSimpleConcepts() |
ArrayIntMap |
getSimpleConceptsMap() |
int |
hashCode() |
void |
init()
init the node - this is not in the constructor because objecs will be
reused
|
boolean |
lesserequal(CGLabel label) |
void |
restore(SaveState ss,
int level)
restore label to given LEVEL using given SS
|
void |
save(SaveState ss) |
String |
toString() |
public CGLabel(JFactReasonerConfiguration config)
config - config object@Original public List<ConceptWDep> getSimpleConcepts()
@Original public List<ConceptWDep> getComplexConcepts()
@Original public ArrayIntMap getSimpleConceptsMap()
@Original public ArrayIntMap getComplexConceptsMap()
@PortedFrom(file="CGLabel.h", name="getLabel") public CWDArray getLabel(DagTag tag)
tag - tag@Original public void add(DagTag tag, ConceptWDep p)
tag - tagp - p@PortedFrom(file="CGLabel.h", name="containsCC") public boolean containsCC(int p)
p - p@PortedFrom(file="CGLabel.h", name="<=") public boolean lesserequal(CGLabel label)
label - label@PortedFrom(file="CGLabel.h", name="save") public void save(SaveState ss)
ss - save label using given SS@PortedFrom(file="CGLabel.h", name="restore") public void restore(SaveState ss, int level)
ss - sslevel - level@PortedFrom(file="CGLabel.h", name="init") public void init()
@PortedFrom(file="CGLabel.h", name="contains") public boolean contains(int p)
p - p@PortedFrom(file="CGLabel.h", name="getConcept") public ConceptWDep getConceptWithBP(int bp)
bp - bp@Nullable @PortedFrom(file="CGLabel.h", name="getConcept") public ConceptWDep getSCConceptWithBP(int bp)
bp - bp@Nullable @PortedFrom(file="CGLabel.h", name="getConcept") public ConceptWDep getCCConceptWithBP(int bp)
bp - bpCopyright © 2016 The University of Manchester. All rights reserved.