| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.isi.stella.Stella_Object
edu.isi.stella.StandardObject
edu.isi.powerloom.logic.Justification
public class Justification
| Field Summary | |
|---|---|
 Cons | 
antecedents
Antecedents justifications of this justification.  | 
 Keyword | 
inferenceRule
Keyword describing the inference rule used to conclude the proposition of this justification.  | 
 double | 
negativeScore
Negative partial match score of the derived proposition.  | 
 Justification | 
patternJustification
Backpointer to the closest parent :PATTERN justification containing the variable substitutions from the associated pattern control frame.  | 
 double | 
positiveScore
Positive partial match score of the derived proposition.  | 
 Proposition | 
proposition
The proposition supported by this justification.  | 
 boolean | 
reversePolarityP
True if proposition was derived in reverse polarity.  | 
 KeyValueMap | 
substitution
List of variable bindings recorded for :PATTERN justifications.  | 
 TruthValue | 
truthValue
Truth value of the derived proposition.  | 
| Constructor Summary | |
|---|---|
Justification()
 | 
|
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public Keyword inferenceRule
public Proposition proposition
public Cons antecedents
public Justification patternJustification
public KeyValueMap substitution
public boolean reversePolarityP
public TruthValue truthValue
public double positiveScore
public double negativeScore
| Constructor Detail | 
|---|
public Justification()
| Method Detail | 
|---|
public static Justification newJustification()
public static void printWhynotJustification(Justification justification,
                                            OutputStream stream,
                                            int maxdepth,
                                            Keyword style,
                                            boolean summaryP)
justification to stream according to
 maxdepth and style.  Print a summary only if summaryP is TRUE.
justification - stream - maxdepth - style - summaryP - 
public static void collectFailedGoals(Justification proof,
                                      List failures)
public static Cons retrievalProofSolution(Justification proof,
                                          QueryIterator query)
public static int computeProofDeviation(Justification proof1,
                                        Justification proof2,
                                        int maxdeviations,
                                        KeyValueList deviations)
public static boolean betterWhynotProofP(Justification proof1,
                                         Justification proof2)
public static int computeNumberOfFailedSubgoals(Justification proof)
public static void collectVisibleAntecedents(Justification self,
                                             List visibleantecedents)
public static List visibleAntecedents(Justification self)
public static Justification visibleJustification(Justification self)
public static void printExplanationAntecedents(Justification self,
                                               OutputStream stream,
                                               KeyValueList mapping,
                                               int maxdepth,
                                               List unexplained)
public static void printExplanationSubstitution(Justification self,
                                                OutputStream stream,
                                                KeyValueList mapping)
public static KeyValueMap getExplanationSubstitution(Justification self)
public static java.lang.String makeRuleOriginExplanationPhrase(Justification self)
public static boolean partiallyFollowsP(Justification self)
public static boolean markAsCutoffGoalP(Justification self)
public static boolean markAsFailedGoalP(Justification self)
public static boolean markAsExplicitAssertionP(Justification self)
public static void printExplanationText(Justification self,
                                        OutputStream stream,
                                        KeyValueList mapping)
public static void printExplanationHeader(Justification self,
                                          OutputStream stream,
                                          KeyValueList mapping)
public static void printJustificationProposition(Justification self,
                                                 OutputStream stream,
                                                 int indent)
public static void printJustificationPropositionForFormat(Justification self,
                                                          OutputStream stream,
                                                          int indent)
public static void printOneExplanation(Justification self,
                                       OutputStream stream,
                                       KeyValueList mapping,
                                       int maxdepth,
                                       List unexplained)
public static void printExplanationSupport(Justification self,
                                           OutputStream stream,
                                           KeyValueList mapping,
                                           int maxdepth,
                                           List unexplained)
public static KeyValueList printExplanation(Justification self,
                                            OutputStream stream,
                                            KeyValueList mapping,
                                            int maxdepth,
                                            Keyword audience)
public static ExplanationInfo explanationInfo(Justification self,
                                              KeyValueList mapping)
public static ExplanationInfo getExplanationInfo(Justification self,
                                                 KeyValueList mapping,
                                                 boolean createP)
public static ExplanationInfo registerJustification(Justification self,
                                                    KeyValueList mapping)
public static java.lang.String explanationTruthMarker(Justification justification)
public static Cons consifyJustification(Justification self,
                                        Keyword style)
self.
 Each proof step is represented as a CONS tree of the form
   (<proposition> (<key> <value>...) <antecedent>...)
 where each <antecedent> is a CONS tree representing a subproof.
 style indicates what nodes in the proof tree should be suppressed.
 :RAW preserves the original structure literally, :VERBOSE keeps AND-
 introductions but suppresses all auxiliary (non-logical) nodes such as
 pattern nodes, and :BRIEF additionally suppresses AND-introduction nodes.
self - style - 
public Cons consify()
self.
 Each proof step is represented as a CONS tree of the form
   (<proposition> (<key> <value>...) <antecedent>...)
 where each <antecedent> is a CONS tree representing a subproof.  The
 consification follows the original proof structure literally, i.e., no
 uninteresting nodes such as patterns or AND-introductions are suppressed.
consify in class Stella_Objectpublic static boolean cutoffGoalJustificationP(Justification self)
public static boolean failedGoalJustificationP(Justification self)
public static void backlinkToPatternJustification(Justification justification,
                                                  Justification pattern)
public Justification copy()
self.  Allocates
 all new justification objects, but structure-shares other information such
 as propositions and substitutions.
public static boolean justificationEqlP(Justification just1,
                                        Justification just2)
public static KeyValueMap yieldJustificationSubstitution(Justification justification,
                                                         KeyValueMap substitution,
                                                         Proposition argument)
public static Stella_Object accessJustificationSlotValue(Justification self,
                                                         Symbol slotname,
                                                         Stella_Object value,
                                                         boolean setvalueP)
public Keyword inferenceDirection()
public Keyword inferenceStrategy()
public Surrogate primaryType()
Stella_Objectself.
 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 | ||||||||