|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Desirable
An object with desirability.
Field Summary | |
---|---|
static double |
DEFAULT_DESIRABILITY
Default desirability for Desirable . |
Method Summary | |
---|---|
double |
getDesirability()
Returns the current desirability of this node. |
double |
getNetDesirability()
Gets net desirability |
double |
getTotalDesirability()
Returns the total desirability of this Desirable . |
void |
setDesirability(double d)
Sets node desirability. |
Field Detail |
---|
static final double DEFAULT_DESIRABILITY
Desirable
.
Method Detail |
---|
double getDesirability()
void setDesirability(double d)
d
- degree to which this node is desired by the agentdouble getTotalDesirability()
Desirable
.
double getNetDesirability()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |