net.sourceforge.nite.datainspection.impl
Class TwoSetValue
java.lang.Object
net.sourceforge.nite.datainspection.impl.TwoSetValue
- All Implemented Interfaces:
- Value
public class TwoSetValue
- extends java.lang.Object
- implements Value
TwoSetValue
Composite Value with two SetValues
These composite values are used for AP agreement measuring (see Natasa paper for SigDial'05, Lisbon)
- See Also:
is defined for the distance between two TwoSetValues
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
aset
public SetValue aset
bset
public SetValue bset
TwoSetValue
public TwoSetValue(SetValue aset,
SetValue bset)
throws java.lang.NullPointerException
- Parameters:
aset
- the a-set of dialogue actsbset
- the b-set of dialogue acts
- Throws:
java.lang.NullPointerException
- if one or more arguments are null
getASetValue
public SetValue getASetValue()
getBSetValue
public SetValue getBSetValue()
getValue
public java.lang.Object getValue()
- Specified by:
getValue
in interface Value
- Returns:
- a List with the three values [datype,aset,bset]
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
- Returns:
- true iff this set wrapped equals o's set
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
distance
public double distance(TwoSetValue other)
- uses the dedicated DiceMetricsForStringTwoSetValues for computing the distance
- Returns:
- the distance between this and the given other value
main
public static void main(java.lang.String[] args)