public class ReplayFitnessCost extends java.lang.Object implements ReplayCost, java.lang.Comparable<ReplayFitnessCost>
| Modifier and Type | Field and Description |
|---|---|
static ReplayCostAddOperator<ReplayFitnessCost> |
addOperator |
| Constructor and Description |
|---|
ReplayFitnessCost(java.lang.Integer cost,
ReplayFitnessSetting setting) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ReplayFitnessCost cost) |
boolean |
equals(java.lang.Object o)
Returns whether this cost equals the given object.
|
int |
hashCode()
Returns the hash code for this cost.
|
boolean |
isAcceptable()
Returns whether this cost is acceptable.
|
java.lang.String |
toString() |
public static ReplayCostAddOperator<ReplayFitnessCost> addOperator
public ReplayFitnessCost(java.lang.Integer cost,
ReplayFitnessSetting setting)
public int compareTo(ReplayFitnessCost cost)
compareTo in interface java.lang.Comparable<ReplayFitnessCost>public boolean isAcceptable()
ReplayCostisAcceptable in interface ReplayCostpublic int hashCode()
ReplayCosthashCode in interface ReplayCosthashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
ReplayCostequals in interface ReplayCostequals in class java.lang.Objecto - The given object.