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()
BeliefBasegetSignature in interface BeliefBasepublic java.lang.String toString()
toString in interface BeliefBasetoString in class java.lang.Objectpublic DeductiveKnowledgeBase getKb()
public java.util.Map<PropositionalFormula,Probability> getProbabilityAssignments()