Package net.sf.tweety.beliefdynamics.mas
Class CrMasBeliefSet<T extends Formula,S extends Signature>
- java.lang.Object
 - 
- net.sf.tweety.commons.BeliefSet<InformationObject<T>,S>
 - 
- net.sf.tweety.beliefdynamics.mas.CrMasBeliefSet<T,S>
 
 
 
- 
- Type Parameters:
 T- The type of formulas in information objects.S- The type of signatures.
- All Implemented Interfaces:
 java.lang.Iterable<InformationObject<T>>,java.util.Collection<InformationObject<T>>,BeliefBase
public class CrMasBeliefSet<T extends Formula,S extends Signature> extends BeliefSet<InformationObject<T>,S>
This class represents belief sets for credibility-based agents multi-agent systems. Such a belief set contains a set of information objects and a credibility order among agents.- Author:
 - Matthias Thimm
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private Order<Agent>credibilityOrderThe subjective credibility order of the agent who owns this belief set.private Stype_of_signatureThe type of signature used in this system.- 
Fields inherited from class net.sf.tweety.commons.BeliefSet
EQUALS_USES_SIGNATURE, signature 
 - 
 
- 
Constructor Summary
Constructors Constructor Description CrMasBeliefSet(Order<Agent> credibilityOrder, S sig)Creates a new belief set with the given credibility order. 
- 
Method Summary
Modifier and Type Method Description Order<Agent>getCredibilityOrder()Returns the credibility order of this belief set.SignaturegetMinimalSignature()Returns the signature of the language of this knowledge base.protected SinstantiateSignature()Instantiates the signature which is attached to the belief base.- 
Methods inherited from class net.sf.tweety.commons.BeliefSet
add, addAll, clear, contains, containsAll, equals, getSignature, hashCode, instantiateSet, isEmpty, iterator, remove, removeAll, retainAll, setSignature, size, toArray, toArray, toString 
- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getCredibilityOrder
public Order<Agent> getCredibilityOrder()
Returns the credibility order of this belief set.- Returns:
 - the credibility order of this belief set.
 
 
- 
getMinimalSignature
public Signature getMinimalSignature()
Description copied from interface:BeliefBaseReturns the signature of the language of this knowledge base.- Returns:
 - the signature of the language of this knowledge base.
 
 
- 
instantiateSignature
protected S instantiateSignature()
Description copied from class:BeliefSetInstantiates the signature which is attached to the belief base.- Specified by:
 instantiateSignaturein classBeliefSet<InformationObject<T extends Formula>,S extends Signature>- Returns:
 - the signature of this belief base
 
 
 - 
 
 -