public interface WeightedGroundRule extends GroundRule
Modifier and Type | Method and Description |
---|---|
GeneralFunction |
getFunctionDefinition() |
double |
getIncompatibility()
Returns the incompatibility of the truth values of this GroundRule's GroundAtoms.
|
double |
getIncompatibility(GroundAtom replacementAtom,
double replacementValue)
Returns the incompatibility of the truth values of this GroundRule's GroundAtoms given
the replacment of a single atom's value with another value.
|
WeightedRule |
getRule() |
double |
getWeight()
Returns the Weight of this WeightedGroundRule.
|
boolean |
isSquared() |
void |
setWeight(double weight)
Sets a weight for this WeightedGroundRule.
|
getAtoms, negate
WeightedRule getRule()
getRule
in interface GroundRule
Rule
boolean isSquared()
double getWeight()
void setWeight(double weight)
GeneralFunction getFunctionDefinition()
double getIncompatibility()
double getIncompatibility(GroundAtom replacementAtom, double replacementValue)
Copyright © 2018 University of California, Santa Cruz. All rights reserved.