|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--edu.jhu.cnds.FrugalDemo.Demo
Demonstrates the Frugal package. This package is a distributed simulation of 5 different resource allocation strategies.
Options:
| -v # | Graphically display # (1-5) strategies. | Default: No graphics. | ||||||||||||||||||||||||||
| -r # | Run simulations on # (1-5) Frugal Resources at once. | Default: Run locally. | ||||||||||||||||||||||||||
| Constructor Summary | |
Demo()
This constructor does nothing at this time. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
Starts the simulation. |
java.lang.String |
nameSim(int ss)
Names a resource allocation strategy. |
void |
run()
Runs a thread. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public Demo()
| Method Detail |
public static void main(java.lang.String[] args)
args - Parameters for the simulation: how many graphical displays to show, how many Frugal Resources to run on, and whether to impose real-time constraints.public void run()
public java.lang.String nameSim(int ss)
ss - The strategy number.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||