Class FuzzyInterpretation
- java.lang.Object
-
- net.sf.tweety.commons.AbstractInterpretation<PlBeliefSet,PlFormula>
-
- net.sf.tweety.logics.pl.semantics.FuzzyInterpretation
-
- All Implemented Interfaces:
Map<Proposition,Double>,net.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>
public class FuzzyInterpretation extends net.sf.tweety.commons.AbstractInterpretation<PlBeliefSet,PlFormula> implements Map<Proposition,Double>
A fuzzy interpretation for propositional logic.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description FuzzyInterpretation()Creates a new fuzzy interpretation
-
Method Summary
Modifier and Type Method Description voidclear()booleancontainsKey(Object arg0)booleancontainsValue(Object arg0)Set<Map.Entry<Proposition,Double>>entrySet()Doubleget(Object arg0)booleanisEmpty()Set<Proposition>keySet()Doubleput(Proposition arg0, Double arg1)voidputAll(Map<? extends Proposition,? extends Double> arg0)Doubleremove(Object arg0)booleansatisfies(PlBeliefSet beliefBase)booleansatisfies(PlFormula formula)intsize()StringtoString()Collection<Double>values()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
satisfies
public boolean satisfies(PlFormula formula) throws IllegalArgumentException
- Specified by:
satisfiesin interfacenet.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>- Throws:
IllegalArgumentException
-
satisfies
public boolean satisfies(PlBeliefSet beliefBase) throws IllegalArgumentException
- Specified by:
satisfiesin interfacenet.sf.tweety.commons.Interpretation<PlBeliefSet,PlFormula>- Throws:
IllegalArgumentException
-
clear
public void clear()
- Specified by:
clearin interfaceMap<Proposition,Double>
-
containsKey
public boolean containsKey(Object arg0)
- Specified by:
containsKeyin interfaceMap<Proposition,Double>
-
containsValue
public boolean containsValue(Object arg0)
- Specified by:
containsValuein interfaceMap<Proposition,Double>
-
entrySet
public Set<Map.Entry<Proposition,Double>> entrySet()
- Specified by:
entrySetin interfaceMap<Proposition,Double>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceMap<Proposition,Double>
-
keySet
public Set<Proposition> keySet()
- Specified by:
keySetin interfaceMap<Proposition,Double>
-
put
public Double put(Proposition arg0, Double arg1)
- Specified by:
putin interfaceMap<Proposition,Double>
-
putAll
public void putAll(Map<? extends Proposition,? extends Double> arg0)
- Specified by:
putAllin interfaceMap<Proposition,Double>
-
remove
public Double remove(Object arg0)
- Specified by:
removein interfaceMap<Proposition,Double>
-
size
public int size()
- Specified by:
sizein interfaceMap<Proposition,Double>
-
values
public Collection<Double> values()
- Specified by:
valuesin interfaceMap<Proposition,Double>
-
-