public class Clause extends Object
| Constructor and Description |
|---|
Clause() |
| Modifier and Type | Method and Description |
|---|---|
Clause |
applyBindings(HashMap<String,String> bindings) |
void |
clearBound()
Clear the bound flags on each Literal
|
void |
clearPreserve()
Clear the preserve flags on each Literal
|
void |
copyBoundFlags(Clause d)
Copy bound flags to this set of clauses
|
Clause |
deepCopy() |
boolean |
empty() |
boolean |
equals(Object o) |
void |
preProcessQuestionWords(List<String> qwords) |
void |
removeBound()
If literal is not marked "preserve" then remove it if bound and
then reset the preserve flag.
|
String |
toString() |
HashMap<String,String> |
unify(Clause d)
The argument to this method is the rule and this is the sentence
|
public Clause deepCopy()
public boolean empty()
public void clearBound()
public void clearPreserve()
public void removeBound()
public void copyBoundFlags(Clause d)
public Clause applyBindings(HashMap<String,String> bindings)
Copyright © 2015. All rights reserved.