to store models of payoffs in TreeMaps.
- Author:
- Olivier Sigaud and Pierre Gérard.
Field Summary |
private Classifier.Perception |
first
|
private double |
second
|
Constructor Summary |
CouplePF(Classifier.Perception p)
|
CouplePF(Classifier.Perception p,
double s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
second
private double second
first
private Classifier.Perception first
CouplePF
public CouplePF(Classifier.Perception p,
double s)
- Parameters:
p
- s
-
CouplePF
public CouplePF(Classifier.Perception p)
- Parameters:
p
-
getFirst
public Classifier.Perception getFirst()
- Returns:
- Classifier.Perception
setFirst
public void setFirst(Classifier.Perception f)
- Parameters:
f
-
getSecond
public double getSecond()
- Returns:
- double
setSecond
public void setSecond(double s)
- Parameters:
s
-
compareTo
public int compareTo(java.lang.Object p)
- Specified by:
compareTo
in interface java.lang.Comparable
- Parameters:
p
-
- Returns:
- int
toString
public final java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
- Returns:
- String