All Packages Class Hierarchy This Package Previous Next Index
Class jkp.KifEquivalence
java.lang.Object
|
+----jkp.KifObj
|
+----jkp.KifForm
|
+----jkp.KifSent
|
+----jkp.KifLogSent
|
+----jkp.KifEquivalence
- public class KifEquivalence
- extends KifLogSent
The class for KIF logical sentence, KifEquivalence.
Copyright (c) 1996, Xiaocheng Luan.
All rights reserved.
- Author:
- Xiaocheng Luan
-
KifEquivalence(KifSent, KifSent)
- Create a KIF equivalence logical sentence from two given sentences.
-
leftSent()
- Get one of the two sentences in the equivalence sentence.
-
rightSent()
- Get the other one of the two sentences in the equivalence sentence.
-
toString()
- Convert this sentence into String format.
KifEquivalence
public KifEquivalence(KifSent sent1,
KifSent sent2)
- Create a KIF equivalence logical sentence from two given sentences.
leftSent
public KifSent leftSent()
- Get one of the two sentences in the equivalence sentence.
- Returns:
- one of the two sentences in the equivalence sentence.
- See Also:
- rightSent
rightSent
public KifSent rightSent()
- Get the other one of the two sentences in the equivalence sentence.
- Returns:
- the other one of the two sentences in the equivalence sentence.
- See Also:
- leftSent
toString
public String toString()
- Convert this sentence into String format.
- Returns:
- this sentence in string format
- Overrides:
- toString in class KifObj
All Packages Class Hierarchy This Package Previous Next Index