|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.isi.stella.Stella_Object edu.isi.stella.StandardObject edu.isi.stella.ContextSensitiveObject edu.isi.powerloom.logic.LogicObject
public class LogicObject
Object with propositions, and possibly a variable value.
Field Summary | |
---|---|
BacklinksIndex |
dependentPropositionsIndex
|
KeyValueList |
dynamicSlots
|
Surrogate |
surrogateValueInverse
|
Stella_Object |
variableValueInverse
|
Fields inherited from class edu.isi.stella.ContextSensitiveObject |
---|
homeContext |
Constructor Summary | |
---|---|
LogicObject()
|
Method Summary | |
---|---|
static Stella_Object |
accessLogicObjectSlotValue(LogicObject self,
Symbol slotname,
Stella_Object value,
boolean setvalueP)
|
static void |
addIsaLink(LogicObject instance,
Description superdescription)
|
static Iterator |
allDirectSubcollections(LogicObject self,
boolean performfilteringP)
|
static Iterator |
allDirectSubcollectionsWithEquivalents(LogicObject self)
|
static Iterator |
allDirectSupercollections(LogicObject self,
boolean performfilteringP)
|
static Iterator |
allDirectSupercollectionsWithEquivalents(LogicObject self)
|
static Cons |
allEquivalentCollections(LogicObject self,
boolean reflexiveP)
|
static List |
allInferableDirectSubcollections(LogicObject self)
|
static Cons |
allSlotValues(LogicObject self,
Surrogate relation)
Return a set of values for the slot 'relation' (a surrogate) applied to 'self' (an object). |
static Cons |
allSlotValueTypes(LogicObject self,
Surrogate relation)
Return a set of the most specific types for fillers of the slot 'relation' applied to 'self'. |
static Iterator |
allSubcollections(LogicObject self)
|
static Iterator |
allSupercollections(LogicObject self)
|
static Cons |
allSupportedNamedSubcollections(LogicObject self)
|
static Cons |
applicableRulesOfDescription(LogicObject self,
Keyword direction,
boolean truerulesonlyP)
|
static Proposition |
assertProperty(LogicObject instance,
Surrogate property)
|
BooleanWrapper |
badP()
|
static void |
bindToEquivalentValue(LogicObject from,
Description to)
|
static void |
buildCaseFromInstance(LogicObject inst,
Surrogate kind)
|
static boolean |
cheapEmptyTermP(LogicObject self)
|
static boolean |
collectionImpliesCollectionP(LogicObject subcollection,
LogicObject supercollection)
|
static void |
collectSubsumingParentsBelow(LogicObject self,
Description renamed_Super,
List newparentdescriptions,
MarkerTable alreadyvisitedtable,
MarkerTable selfisbelowtable,
java.lang.reflect.Method subsumptiontest)
|
static NamedDescription |
conceptPrototypeOf(LogicObject self)
|
static boolean |
conceptPrototypeP(LogicObject self)
|
boolean |
deletedP()
Default deletedP method which always returns FALSE. |
boolean |
deletedPSetter(boolean value)
|
static boolean |
derivePartitionMembershipsP(LogicObject self)
|
static void |
destroyTerm(LogicObject self)
Destroy all propositions that reference 'self', and mark it as 'deleted?', thereby making it invisible within class extensions. |
static int |
downclassificationTimestamp(LogicObject self)
|
static boolean |
downclassifiedP(LogicObject self)
|
static void |
downclassifyOneDescription(LogicObject self)
|
List |
elaboratedInWorlds()
|
static void |
equivalenceCollections(LogicObject collection1,
LogicObject collection2)
|
static int |
equivalentCollectionPriority(LogicObject self)
|
static Stella_Object |
evaluateLogicObjectTerm(LogicObject self)
|
static void |
evaluateReachableInequalities(LogicObject self,
List visitedlist)
|
static Cons |
evaluateRemainingArguments(LogicObject predicatevalue,
Cons arguments)
|
static boolean |
expensiveEmptyTermP(LogicObject self)
|
static boolean |
filterInstanceP(LogicObject self,
AllPurposeIterator iterator)
|
static Stella_Object |
generateCaseBasedAnswer(LogicObject probe,
Surrogate slot,
List cases)
|
static Stella_Object |
generateExpression(LogicObject self,
boolean canonicalizevariablenamesP)
Return an s-expression representing the source expression for 'self'. |
static Cons |
getMostSpecificClasses(LogicObject instance)
|
static int |
getSlotMaximumCardinality(LogicObject self,
Surrogate relation)
Return a maximum value for the number of fillers of relation 'relation' (a surrogate) applied to the instance 'self' (an object). |
static int |
getSlotMinimumCardinality(LogicObject self,
Surrogate relation)
Return a minimum value for the number of fillers of relation 'relation' (a surrogate) applied to the instance 'self' (an object). |
static Stella_Object |
getSlotValue(LogicObject self,
Surrogate relation)
Return a single value for the slot 'relation' (a surrogate) applied to 'self' (an object). |
static NamedDescription |
getSlotValueType(LogicObject self,
Surrogate relation)
Return a most specific type for fillers of the slot 'relation' (a surrogate) applied to 'self'. |
static Cons |
helpAllSupportedNamedSubcollections(LogicObject self)
|
static boolean |
helpCollectParentsBelowP(LogicObject self,
Description renamed_Super,
List newparentdescriptions,
MarkerTable alreadyvisitedtable,
MarkerTable selfisbelowtable,
java.lang.reflect.Method subsumptiontest)
|
static void |
helpDerivePartitionMemberships(LogicObject self,
LogicObject renamed_Super,
List tuples)
|
static void |
helpDownclassifyOneDescription(LogicObject node,
LogicObject self,
Cons necessaryancestors,
MarkerTable alreadyvisitedtable)
|
static void |
helpUpclassifyOneEntity(LogicObject self,
Keyword instanceordescription)
|
int |
introductionTimestamp()
|
static void |
logicObjectDinheritUnnamedDescription(LogicObject instance,
Description description,
boolean defaulttrueP)
|
static void |
logLogicObject(LogicObject self)
|
void |
markAsIncoherent()
|
static FloatWrapper |
matchInstances(LogicObject x,
LogicObject y)
|
static boolean |
namedCollectionP(LogicObject self)
|
static LogicObject |
newLogicObject()
|
static boolean |
nonPolymorphicPredicateP(LogicObject self)
|
static boolean |
objectNameLessThanP(LogicObject o1,
LogicObject o2)
|
Surrogate |
primaryType()
Returns the primary type of self . |
static void |
printKifLogicObject(LogicObject self)
|
static void |
printLogicObject(LogicObject self,
OutputStream stream,
boolean toplevelP)
|
void |
printObject(java.io.PrintStream stream)
|
void |
processDefinitionOptions(Stella_Object options)
|
static void |
refreshDownclassificationTimestamp(LogicObject self)
|
static void |
removeAllDependentPropositionLinks(LogicObject self)
|
static void |
retractFactsOfInstance(LogicObject self)
Retract all definite (TRUE or FALSE) propositions attached to self . |
static Proposition |
retractProperty(LogicObject instance,
Surrogate property)
|
static boolean |
testSlotValueP(LogicObject self,
Surrogate relation,
Stella_Object filler)
Return TRUE if the proposition '(<relation> <self> <filler>)' is true. |
static void |
unbindEquivalentValue(LogicObject self)
|
static void |
unlinkEquivalentValue(LogicObject self)
|
static boolean |
upclassifiedLaterThanP(LogicObject self,
LogicObject other)
|
static void |
upclassifyOneDescription(LogicObject self)
|
static void |
upclassifyOneInstance(LogicObject self)
|
static Proposition |
updateProperty(LogicObject self,
Surrogate surrogate,
Keyword updatemode)
|
Cons |
variableValueInverse()
|
static boolean |
visibleTermP(LogicObject term,
Context context,
boolean localP)
|
Methods inherited from class edu.isi.stella.ContextSensitiveObject |
---|
homeModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public Stella_Object variableValueInverse
public Surrogate surrogateValueInverse
public KeyValueList dynamicSlots
public BacklinksIndex dependentPropositionsIndex
Constructor Detail |
---|
public LogicObject()
Method Detail |
---|
public static LogicObject newLogicObject()
public static boolean filterInstanceP(LogicObject self, AllPurposeIterator iterator)
public static boolean visibleTermP(LogicObject term, Context context, boolean localP)
public static Cons allSlotValueTypes(LogicObject self, Surrogate relation)
self
- relation
-
public static NamedDescription getSlotValueType(LogicObject self, Surrogate relation)
self
- relation
-
public static int getSlotMaximumCardinality(LogicObject self, Surrogate relation)
self
- relation
-
public static int getSlotMinimumCardinality(LogicObject self, Surrogate relation)
self
- relation
-
public static boolean testSlotValueP(LogicObject self, Surrogate relation, Stella_Object filler)
self
- relation
- filler
-
public static Stella_Object getSlotValue(LogicObject self, Surrogate relation)
self
- relation
-
public static Cons allSlotValues(LogicObject self, Surrogate relation)
self
- relation
-
public void processDefinitionOptions(Stella_Object options)
public static Cons allEquivalentCollections(LogicObject self, boolean reflexiveP)
public static void downclassifyOneDescription(LogicObject self)
public static void helpDownclassifyOneDescription(LogicObject node, LogicObject self, Cons necessaryancestors, MarkerTable alreadyvisitedtable)
public static void upclassifyOneDescription(LogicObject self)
public static void upclassifyOneInstance(LogicObject self)
public static void helpUpclassifyOneEntity(LogicObject self, Keyword instanceordescription)
public static void collectSubsumingParentsBelow(LogicObject self, Description renamed_Super, List newparentdescriptions, MarkerTable alreadyvisitedtable, MarkerTable selfisbelowtable, java.lang.reflect.Method subsumptiontest)
public static boolean helpCollectParentsBelowP(LogicObject self, Description renamed_Super, List newparentdescriptions, MarkerTable alreadyvisitedtable, MarkerTable selfisbelowtable, java.lang.reflect.Method subsumptiontest)
public static boolean downclassifiedP(LogicObject self)
public static boolean upclassifiedLaterThanP(LogicObject self, LogicObject other)
public static void refreshDownclassificationTimestamp(LogicObject self)
public static int downclassificationTimestamp(LogicObject self)
public int introductionTimestamp()
public static List allInferableDirectSubcollections(LogicObject self)
public static boolean namedCollectionP(LogicObject self)
public static void addIsaLink(LogicObject instance, Description superdescription)
public static void logicObjectDinheritUnnamedDescription(LogicObject instance, Description description, boolean defaulttrueP)
public static Cons helpAllSupportedNamedSubcollections(LogicObject self)
public static Cons allSupportedNamedSubcollections(LogicObject self)
public static Iterator allSubcollections(LogicObject self)
public static Iterator allSupercollections(LogicObject self)
public static Iterator allDirectSubcollectionsWithEquivalents(LogicObject self)
public static Iterator allDirectSubcollections(LogicObject self, boolean performfilteringP)
public static Iterator allDirectSupercollectionsWithEquivalents(LogicObject self)
public static Iterator allDirectSupercollections(LogicObject self, boolean performfilteringP)
public static boolean expensiveEmptyTermP(LogicObject self)
public static boolean cheapEmptyTermP(LogicObject self)
public static boolean derivePartitionMembershipsP(LogicObject self)
public static void helpDerivePartitionMemberships(LogicObject self, LogicObject renamed_Super, List tuples)
public static boolean conceptPrototypeP(LogicObject self)
public static NamedDescription conceptPrototypeOf(LogicObject self)
public static Stella_Object generateExpression(LogicObject self, boolean canonicalizevariablenamesP)
self
- canonicalizevariablenamesP
-
public static void printLogicObject(LogicObject self, OutputStream stream, boolean toplevelP)
public static void printKifLogicObject(LogicObject self)
public static Cons getMostSpecificClasses(LogicObject instance)
public static Stella_Object generateCaseBasedAnswer(LogicObject probe, Surrogate slot, List cases)
public static FloatWrapper matchInstances(LogicObject x, LogicObject y)
public static void buildCaseFromInstance(LogicObject inst, Surrogate kind)
public static void retractFactsOfInstance(LogicObject self)
self
.
self
- public static void evaluateReachableInequalities(LogicObject self, List visitedlist)
public List elaboratedInWorlds()
public void markAsIncoherent()
public static boolean collectionImpliesCollectionP(LogicObject subcollection, LogicObject supercollection)
public static Cons applicableRulesOfDescription(LogicObject self, Keyword direction, boolean truerulesonlyP)
public static void removeAllDependentPropositionLinks(LogicObject self)
public static boolean objectNameLessThanP(LogicObject o1, LogicObject o2)
public static void destroyTerm(LogicObject self)
self
- public static Cons evaluateRemainingArguments(LogicObject predicatevalue, Cons arguments)
public static boolean nonPolymorphicPredicateP(LogicObject self)
public static Proposition retractProperty(LogicObject instance, Surrogate property)
public static Proposition assertProperty(LogicObject instance, Surrogate property)
public static Proposition updateProperty(LogicObject self, Surrogate surrogate, Keyword updatemode)
public static Stella_Object evaluateLogicObjectTerm(LogicObject self)
public static void equivalenceCollections(LogicObject collection1, LogicObject collection2)
public static int equivalentCollectionPriority(LogicObject self)
public static void unlinkEquivalentValue(LogicObject self)
public static void unbindEquivalentValue(LogicObject self)
public static void bindToEquivalentValue(LogicObject from, Description to)
public static void logLogicObject(LogicObject self)
public void printObject(java.io.PrintStream stream)
printObject
in class Stella_Object
public boolean deletedPSetter(boolean value)
public boolean deletedP()
Stella_Object
deletedP
method which always returns FALSE. Objects
that inherit DYNAMIC-SLOTS-MIXIN also inherit the dynamically-allocated slot
deletedObjectP
which is read/writable with specializations of this method.
deletedP
in class Stella_Object
public static Stella_Object accessLogicObjectSlotValue(LogicObject self, Symbol slotname, Stella_Object value, boolean setvalueP)
public BooleanWrapper badP()
public Cons variableValueInverse()
public Surrogate primaryType()
Stella_Object
self
.
Gets defined automatically for every non-abstract subclass of OBJECT.
primaryType
in class Stella_Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |