|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnars.language.Term
nars.language.CompoundTerm
nars.language.Statement
nars.language.Implication
public class Implication
A Statement about an Inheritance relation.
Field Summary | |
---|---|
private TemporalValue |
temporalOrder
Temporal order between the components |
Fields inherited from class nars.language.CompoundTerm |
---|
complexity, components, openVariables |
Fields inherited from class nars.language.Term |
---|
name |
Constructor Summary | |
---|---|
protected |
Implication(java.lang.String n,
java.util.ArrayList<Term> cs,
java.util.ArrayList<Variable> open,
short i,
TemporalValue order)
Constructor with full values, called by clone |
protected |
Implication(java.lang.String n,
java.util.ArrayList<Term> arg,
TemporalValue order)
Constructor with partial values, called by make |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone an object |
TemporalValue |
getOrder()
Get the order of the components. |
static java.lang.String |
getSymbol(TemporalValue t)
Convert a TemporalValue into its String representation |
static Implication |
make(Term subject,
Term predicate,
TemporalValue order)
Try to make a new compound from two components. |
java.lang.String |
operator()
Get the operator of the term. |
Methods inherited from class nars.language.Statement |
---|
getPredicate, getSubject, invalid, invalidStatement, isRelation, make, make, make, makeName, makeStatementName, makeSym |
Methods inherited from class nars.language.CompoundTerm |
---|
addComponents, argumentsToList, cloneComponents, cloneList, componentAt, containAllComponents, containComponent, getComplexity, getComponents, getConstantName, getOpenVariables, isCommutative, isConstant, isOperator, make, make, makeCompoundName, makeImageName, makeSetName, prepareComponentLinks, reduceComponents, renameVariables, renameVariables, replaceComponent, replaceComponent, size, substituteComponent |
Methods inherited from class nars.language.Term |
---|
compareTo, equals, getName, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private TemporalValue temporalOrder
Constructor Detail |
---|
protected Implication(java.lang.String n, java.util.ArrayList<Term> arg, TemporalValue order)
n
- The name of the termarg
- The component list of the termorder
- The temporal order of the componentsprotected Implication(java.lang.String n, java.util.ArrayList<Term> cs, java.util.ArrayList<Variable> open, short i, TemporalValue order)
n
- The name of the termcs
- Component listopen
- Open variable listi
- Syntactic complexity of the compoundorder
- The temporal order of the componentsMethod Detail |
---|
public java.lang.Object clone()
clone
in class CompoundTerm
public static Implication make(Term subject, Term predicate, TemporalValue order)
subject
- The first compomentpredicate
- The second compomentorder
- The temporal order of the components
public java.lang.String operator()
operator
in class CompoundTerm
public TemporalValue getOrder()
getOrder
in class Term
public static java.lang.String getSymbol(TemporalValue t)
t
- The temporal value to be represented
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |