net.sf.myra.framework
Interface Cost

All Superinterfaces:
java.lang.Cloneable, java.lang.Comparable<Cost>, java.io.Serializable
All Known Implementing Classes:
NumericCost

public interface Cost
extends java.lang.Comparable<Cost>, java.lang.Cloneable, java.io.Serializable

This interface represents a cost associated with trails created by ants.

Version:
$Revision$ $Date:: $
Author:
Fernando Esteban Barril Otero

Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this cost instance.
 double getValue()
          Returns the numeric representation of this cost instance.
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

clone

java.lang.Object clone()
Creates and returns a copy of this cost instance.

Returns:
a copy of this cost instance.

getValue

double getValue()
Returns the numeric representation of this cost instance.

Returns:
the numeric representation of this cost instance.


Copyright © 2013. All Rights Reserved.