|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.upb.swtpra.kernel.companycontrol.CompanyControlRemoteObj
de.upb.swtpra05.group03.shuttle.messages.ApplyNewShuttleParamsMessage
This is an example message that is used to show how the companycontrol can send messages to the shuttles.
| Field Summary | |
private float |
margin
the margin that the shuttle shall use to calculate their offers |
private float |
marginStep
the size of the steps between to possible margins |
private float |
minMargin
the minimum margin to have |
private int |
riscFactor
the risc factor of the shuttles: 0 low, 1 medium, 2 high |
private boolean |
selfAdopt
true when the shuttle shall self-adopt their strategy, false else |
private static long |
serialVersionUID
Comment for serialVersionUID |
| Constructor Summary | |
ApplyNewShuttleParamsMessage(float margin,
float minMargin,
float marginStep,
int riscFactor,
boolean selfAdopt)
Constructor of ApplyNewShuttleParamsMessage |
|
| Method Summary | |
float |
getMargin()
|
float |
getMarginStep()
|
float |
getMinMargin()
|
int |
getRiscFactor()
|
boolean |
isSelfAdopt()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
serialVersionUID
private float margin
private float minMargin
private float marginStep
private int riscFactor
private boolean selfAdopt
| Constructor Detail |
public ApplyNewShuttleParamsMessage(float margin,
float minMargin,
float marginStep,
int riscFactor,
boolean selfAdopt)
margin - see aboveminMargin - see abovemarginStep - see aboveriscFactor - see aboveselfAdopt - see above| Method Detail |
public float getMargin()
public float getMarginStep()
public float getMinMargin()
public int getRiscFactor()
public boolean isSelfAdopt()
public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||