public class Rule extends Object implements Validating, AtomContainer, Conjunctive, scala.Product, scala.Serializable
| Constructor and Description |
|---|
Rule(scala.collection.immutable.Set<Literal> head,
scala.collection.Seq<AtomContainer> body) |
Rule(scala.collection.immutable.Set<Literal> head,
scala.collection.immutable.Set<Literal> posBody,
scala.collection.immutable.Set<Literal> negBody) |
| Modifier and Type | Method and Description |
|---|---|
protected Rule |
and(Rule bodyRule)
Parent method for rule -> new body elem append
|
boolean |
applicable(scala.collection.immutable.Set<Literal> i) |
boolean |
applied(scala.collection.immutable.Set<Literal> i) |
scala.collection.immutable.Set<Literal> |
body() |
scala.collection.immutable.Set<Literal> |
getHead() |
scala.collection.immutable.Set<Literal> |
getNegAtoms() |
scala.collection.immutable.Set<Literal> |
getPosAtoms() |
scala.collection.immutable.Set<Literal> |
head() |
boolean |
modelOf(scala.collection.immutable.Set<Literal> i) |
scala.collection.immutable.Set<Literal> |
negBody() |
scala.collection.immutable.Set<Literal> |
posBody() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitandpublic Rule(scala.collection.immutable.Set<Literal> head, scala.collection.immutable.Set<Literal> posBody, scala.collection.immutable.Set<Literal> negBody)
public Rule(scala.collection.immutable.Set<Literal> head, scala.collection.Seq<AtomContainer> body)
public scala.collection.immutable.Set<Literal> head()
public scala.collection.immutable.Set<Literal> posBody()
public scala.collection.immutable.Set<Literal> negBody()
public scala.collection.immutable.Set<Literal> body()
public boolean applicable(scala.collection.immutable.Set<Literal> i)
public boolean applied(scala.collection.immutable.Set<Literal> i)
public boolean modelOf(scala.collection.immutable.Set<Literal> i)
modelOf in interface Validatingtrue iff this interpretation is a model of this instancepublic scala.collection.immutable.Set<Literal> getHead()
public scala.collection.immutable.Set<Literal> getPosAtoms()
getPosAtoms in interface AtomContainerpublic scala.collection.immutable.Set<Literal> getNegAtoms()
getNegAtoms in interface AtomContainerprotected Rule and(Rule bodyRule)
Conjunctiveand in interface ConjunctiveCopyright © 2013-2014. All Rights Reserved.