public abstract class RuleCollection extends java.lang.Object implements Proposition<Rule>, java.util.Collection<Rule>, java.io.Serializable
Rules.| Constructor and Description |
|---|
RuleCollection(@NotNull Head defaultPrediction)
Creates an empty collection of rules.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
@NotNull Head |
getDefaultPrediction()
Returns the default prediction that is made, if no rule covers an example.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAllMatches, getFirstMatch, isConjunctive, isDisjunctive, testpublic RuleCollection(@NotNull
@NotNull Head defaultPrediction)
defaultPrediction - The default prediction that should be made if no rule covers an
example@NotNull public @NotNull Head getDefaultPrediction()
public int hashCode()
hashCode in interface java.util.Collection<Rule>hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in interface java.util.Collection<Rule>equals in class java.lang.Object