public class DeductiveProbabilisticKnowledgebase extends java.lang.Object implements BeliefBase
Modifier and Type | Field and Description |
---|---|
private DeductiveKnowledgeBase |
kb
The deductive knowledge base.
|
private java.util.Map<PropositionalFormula,Probability> |
probabilityAssignments
Probability assignments for formulas.
|
Constructor and Description |
---|
DeductiveProbabilisticKnowledgebase()
Creates a new empty probabilistic knowledge base
|
DeductiveProbabilisticKnowledgebase(DeductiveKnowledgeBase kb,
java.util.Map<PropositionalFormula,Probability> probabilityAssignments)
Creates a new probabilistic knowledge base from the given parameters.
|
Modifier and Type | Method and Description |
---|---|
DeductiveKnowledgeBase |
getKb()
Returns the deductive knowledge base
|
java.util.Map<PropositionalFormula,Probability> |
getProbabilityAssignments()
Returns the probability assignments
|
Signature |
getSignature()
Returns the signature of the language of this knowledge base.
|
java.lang.String |
toString() |
private DeductiveKnowledgeBase kb
private java.util.Map<PropositionalFormula,Probability> probabilityAssignments
public DeductiveProbabilisticKnowledgebase()
public DeductiveProbabilisticKnowledgebase(DeductiveKnowledgeBase kb, java.util.Map<PropositionalFormula,Probability> probabilityAssignments)
kb
- a deductive knowledge base.probabilityAssignments
- probability assignments for formulas.public Signature getSignature()
BeliefBase
getSignature
in interface BeliefBase
public java.lang.String toString()
toString
in interface BeliefBase
toString
in class java.lang.Object
public DeductiveKnowledgeBase getKb()
public java.util.Map<PropositionalFormula,Probability> getProbabilityAssignments()