Modifier and Type | Class and Description |
---|---|
class |
ActionSignature
This class represents an action signature consisting of a set of fluent names
and a set of action names.
|
Modifier and Type | Field and Description |
---|---|
private FolSignature |
DelpParser.signature |
Modifier and Type | Method and Description |
---|---|
FolSignature |
DelpParser.getSignature() |
Modifier and Type | Method and Description |
---|---|
FOLAtom |
DelpParser.Atom(DefeasibleLogicProgram delp,
FolSignature signature) |
private Constant |
DelpParser.createConstant(java.lang.String image,
DefeasibleLogicProgram delp,
FolSignature signature) |
void |
DelpParser.Expression(DefeasibleLogicProgram delp,
FolSignature signature) |
FolFormula |
DelpParser.Formula(FolSignature signature) |
FolFormula |
DelpParser.Literal(DefeasibleLogicProgram delp,
FolSignature signature) |
Term |
DelpParser.Term(DefeasibleLogicProgram delp,
FolSignature signature) |
DefeasibleLogicProgram |
DelpParser.Theory(FolSignature signature) |
Modifier and Type | Method and Description |
---|---|
FolSignature |
ModalFormula.getSignature() |
Modifier and Type | Field and Description |
---|---|
private FolSignature |
FolParser.signature
Keeps track of the signature.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
FolParser.getSignature()
Returns the signature of this parser.
|
Modifier and Type | Method and Description |
---|---|
FOLAtom |
FolParserB.atom(FolSignature signature) |
void |
FolParserB.declar(FolSignature signature) |
TypedStructure |
FolParserB.endFunctorDeclar(FolSignature signature,
java.lang.String sortName) |
TypedStructure |
FolParserB.endPredicateDeclar(FolSignature signature,
java.lang.String name) |
FolFormula |
FolParserB.formula(FolSignature signature) |
Pair<java.lang.Integer,FolFormula> |
FolParserB.formulaex(FolSignature signature) |
private Functor |
FolParserB.getFunctor(java.lang.String name,
FolSignature signature) |
private Constant |
FolParserB.getOrCreateConstant(java.lang.String name,
Sort type,
FolSignature sig) |
private Functor |
FolParserB.getOrCreateFunctor(java.lang.String name,
java.util.List<Term<?>> args,
Sort targetSort,
FolSignature signature) |
private Predicate |
FolParserB.getPredicate(java.lang.String name,
FolSignature sig) |
private java.util.List<Sort> |
FolParserB.getSorts(FolSignature sig,
java.util.List<java.lang.String> names) |
void |
FolParser.parseSortDeclaration(java.lang.String s,
FolSignature sig)
Parses a sort declaration of the form "SORTNAME "=" "{" (CONSTANTNAME ("," CONSTANTNAME)*)? "}""
and modifies the given signature accordingly.
|
void |
FolParser.parseTypeDeclaration(java.lang.String s,
FolSignature sig)
Parses a predicate declaration of the form "type" "(" PREDICATENAME "(" (SORTNAME ("," SORTNAME)*)? ")" ")"
or a functor declaration of the form "type" "(" SORTNAME "=" FUNCTORNAME "(" (SORTNAME ("," SORTNAME)*)? ")" ")"
and modifies the given signature accordingly.
|
void |
FolParser.setSignature(FolSignature signature)
Sets the signature for this parser.
|
Term<?> |
FolParserB.term(FolSignature signature,
Sort type) |
Modifier and Type | Method and Description |
---|---|
private java.util.Set<FOLAtom> |
HerbrandBase.getAllInstantiations(FolSignature sig,
Predicate p,
java.util.List<Term<?>> arguments)
Computes all instantiations of the predicate "p" relative to the signature "sig"
where "arguments" defines the first arguments of the atoms.
|
Constructor and Description |
---|
HerbrandBase(FolSignature sig)
Creates a new Herbrand base for the given signature.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
RelationalFormula.getSignature() |
Modifier and Type | Field and Description |
---|---|
private FolSignature |
AbstractMlnReasoner.signature
The signature of the reasoner.
|
Modifier and Type | Method and Description |
---|---|
protected FolSignature |
AbstractMlnReasoner.getSignature()
Returns the signature used for reasoning.
|
Modifier and Type | Method and Description |
---|---|
private java.io.File |
AlchemyMlnReasoner.writeAlchemyMlnFile(MarkovLogicNetwork mln,
FolSignature signature,
FolFormula formula)
Writes the given MLN wrt.
|
Constructor and Description |
---|
AbstractMlnReasoner(BeliefBase beliefBase,
FolSignature signature)
Creates a new reasoner for the given Markov logic network.
|
AlchemyMlnReasoner(BeliefBase beliefBase,
FolSignature signature)
Creates a new AlchemyMlnReasoner for the given Markov logic network.
|
ApproximateNaiveMlnReasoner(BeliefBase beliefBase,
FolSignature signature,
long maxNumberOfSelectedInterpretations,
long maxNumberOfInterpretationsForModel)
Creates a new ApproximateNaiveMlnReasoner for the given Markov logic network.
|
NaiveMlnReasoner(BeliefBase beliefBase,
FolSignature signature)
Creates a new NaiveMlnReasoner for the given Markov logic network.
|
SimpleSamplingMlnReasoner(BeliefBase beliefBase,
FolSignature signature,
double precision,
int numOfPositiveTests)
Creates a new SimpleSamplingMlnReasoner for the given Markov logic network.
|
Modifier and Type | Method and Description |
---|---|
double |
AggregatingCoherenceMeasure.coherence(MarkovLogicNetwork mln,
Reasoner reasoner,
FolSignature signature) |
abstract double |
AbstractCoherenceMeasure.coherence(MarkovLogicNetwork mln,
Reasoner reasoner,
FolSignature signature)
Measures the coherence of the given MLN using the given reasoner.
|
Modifier and Type | Method and Description |
---|---|
double |
DefaultCompatibilityMeasure.compatibility(java.util.List<MarkovLogicNetwork> mlns,
Reasoner reasoner,
java.util.List<FolSignature> signatures) |
double |
CompatibilityMeasure.compatibility(java.util.List<MarkovLogicNetwork> mlns,
Reasoner reasoner,
java.util.List<FolSignature> signatures)
Measures the compatibility of the given MLNs wrt.
|
Modifier and Type | Method and Description |
---|---|
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest.CommonColdExample(int domain_size) |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest.ElephantZooExample(int domain_size) |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest.iterateExamples(int exNum,
int domain_size) |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest2.Nixon1() |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest2.Nixon2() |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest2.Nixon3() |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest.SimpleExample(int domain_size) |
static Pair<MarkovLogicNetwork,FolSignature> |
MlnTest.SmokersExample(int domain_size) |
Modifier and Type | Field and Description |
---|---|
private FolSignature |
RelationalBruteForceCReasoner.signature
The signature used for building the c-representation.
|
Constructor and Description |
---|
RelationalBruteForceCReasoner(BeliefBase beliefBase,
FolSignature signature)
Creates a new simple c-representation reasoner for the given knowledge base.
|
RelationalBruteForceCReasoner(BeliefBase beliefBase,
FolSignature signature,
boolean simple)
Creates a new relational c-representation reasoner for the given knowledge base.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
RclParser.getSignature()
Returns the signature of this parser.
|
Modifier and Type | Field and Description |
---|---|
private FolSignature |
RelationalRankingFunction.signature
The signature of the language this ranking function
is defined on.
|
Constructor and Description |
---|
RelationalRankingFunction(FolSignature signature)
Creates a new ranking function mapping each
given interpretation to zero.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
DefaultRule.getSignature() |
Modifier and Type | Field and Description |
---|---|
private FolSignature |
RpclMeReasoner.signature
The signature for this reasoner.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
RpclMeReasoner.getSignature()
Returns the signature of this reasoner.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<java.util.Set<Constant>> |
RpclBeliefSet.getEquivalenceClasses(FolSignature signature)
Determines the equivalence classes of this belief set wrt.
|
static CondensedProbabilityDistribution |
CondensedProbabilityDistribution.getRandomDistribution(RpclSemantics semantics,
FolSignature signature,
java.util.Set<java.util.Set<Constant>> equivalenceClasses)
Returns a random distribution on the given signature.
|
static CondensedProbabilityDistribution |
CondensedProbabilityDistribution.getUniformDistribution(RpclSemantics semantics,
FolSignature signature,
java.util.Set<java.util.Set<Constant>> equivalenceClasses)
Returns the uniform distribution on the given signature.
|
Constructor and Description |
---|
CondensedProbabilityDistribution(RpclSemantics semantics,
FolSignature signature)
Creates a new condensed probability distribution for the given signature.
|
RpclMeReasoner(BeliefBase beliefBase,
RpclSemantics semantics,
FolSignature signature)
Creates a new reasoner for the given knowledge base.
|
RpclMeReasoner(BeliefBase beliefBase,
RpclSemantics semantics,
FolSignature signature,
int inferenceType)
Creates a new reasoner for the given knowledge base.
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
RpclParser.getSignature()
Returns the signature of this parser.
|
Modifier and Type | Field and Description |
---|---|
private FolSignature |
RpclCondensedProbabilityDistributionParser.signature
The signature for this parser (if one has been given)
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Constant> |
RpclCondensedProbabilityDistributionParser.ConstantSet(FolSignature signature) |
static CondensedProbabilityDistribution |
RpclCondensedProbabilityDistributionParser.Distribution(RpclSemantics semantics,
FolSignature signature) |
static InstanceAssignment |
RpclCondensedProbabilityDistributionParser.InstanceAssignment(FolSignature signature) |
static ReferenceWorld |
RpclCondensedProbabilityDistributionParser.Interpretation(FolSignature signature) |
static Pair<ReferenceWorld,Probability> |
RpclCondensedProbabilityDistributionParser.ProbabilityAssignment(FolSignature signature) |
void |
RpclCondensedProbabilityDistributionParser.setSignature(FolSignature signature) |
Constructor and Description |
---|
RpclCondensedProbabilityDistributionParser(RpclSemantics semantics,
FolSignature signature) |
Modifier and Type | Field and Description |
---|---|
private FolSignature |
RpclProbabilityDistributionParser.signature
The signature for this parser (if one has been given)
|
Modifier and Type | Method and Description |
---|---|
static RpclProbabilityDistribution |
RpclProbabilityDistributionParser.Distribution(RpclSemantics semantics,
FolSignature signature) |
static FOLAtom |
RpclProbabilityDistributionParser.GroundAtom(FolSignature signature) |
static Pair<HerbrandInterpretation,Probability> |
RpclProbabilityDistributionParser.ProbabilityAssignment(FolSignature signature) |
void |
RpclProbabilityDistributionParser.setSignature(FolSignature signature) |
Constructor and Description |
---|
RpclProbabilityDistributionParser(RpclSemantics semantics,
FolSignature signature) |
Modifier and Type | Method and Description |
---|---|
Statement |
RpclSemantics.getSatisfactionStatement(RelationalProbabilisticConditional r,
FolSignature signature,
java.util.Map<? extends Interpretation,FloatVariable> worlds2vars)
Returns the mathematical statement corresponding to the satisfaction
of the given conditional wrt.
|
Statement |
AveragingSemantics.getSatisfactionStatement(RelationalProbabilisticConditional r,
FolSignature signature,
java.util.Map<? extends Interpretation,FloatVariable> worlds2vars) |
Statement |
AggregatingSemantics.getSatisfactionStatement(RelationalProbabilisticConditional r,
FolSignature signature,
java.util.Map<? extends Interpretation,FloatVariable> worlds2vars) |
abstract Statement |
AbstractRpclSemantics.getSatisfactionStatement(RelationalProbabilisticConditional r,
FolSignature signature,
java.util.Map<? extends Interpretation,FloatVariable> worlds2vars) |
static RpclProbabilityDistribution |
RpclProbabilityDistribution.getUniformDistribution(RpclSemantics semantics,
FolSignature signature)
Returns the uniform distribution on the given signature.
|
Constructor and Description |
---|
RpclProbabilityDistribution(RpclSemantics semantics,
FolSignature signature)
Creates a new probability distribution for the given signature.
|
Modifier and Type | Field and Description |
---|---|
private FolSignature |
Program.signature
The signature of the logic program
|
Modifier and Type | Method and Description |
---|---|
FolSignature |
Rule.getSignature() |
FolSignature |
Program.getSignature() |
FolSignature |
DLPNot.getSignature() |
FolSignature |
DLPNeg.getSignature() |
FolSignature |
DLPHead.getSignature() |
FolSignature |
DLPElement.getSignature() |
FolSignature |
DLPAtom.getSignature() |
FolSignature |
Comparative.getSignature() |
FolSignature |
Arithmetic.getSignature() |
FolSignature |
Aggregate.getSignature() |
Modifier and Type | Method and Description |
---|---|
FolSignature |
NLPRule.getSignature() |
FolSignature |
NLPProgram.getSignature() |