|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgalatea.glider.Glider
Class Glider definition.
This is the base class for GLIDER simulator.
-----
Clase básica del simulador GLIDER.
| Field Summary | |
static Event |
event
Current event. |
static LEvents |
fel
Future events list. |
static List |
htrace
Trace of future events list. |
static Message |
mess
Current message. |
static Node |
node
Current node. |
static LNodes |
nodesl
Nodes list. |
| Constructor Summary | |
Glider()
|
|
| Method Summary | |
static void |
act(Node n,
double ta)
GLIDER Method. |
static void |
endsimul()
GLIDER Method. |
static java.lang.String |
format(double n)
Output format to doubles with outf decimals. |
static int |
getOutf()
Get Method. |
static double |
getTime()
Get Method. |
static java.lang.String |
getTitle()
Get Method. |
static double |
getTsim()
Get Method. |
static double |
max(double a,
double b)
GLIDER Method. |
static int |
max(int a,
int b)
GLIDER Method. |
static double |
min(double a,
double b)
GLIDER Method. |
static int |
min(int a,
int b)
GLIDER Method. |
static void |
process()
Process the future events list. |
static void |
setEos(boolean end)
Set Method. |
static void |
setOutf(int n)
Set Method. |
static void |
setTime(double t)
Set Method. |
static void |
setTitle(java.lang.String n)
Set Method. |
static void |
setTsim(double t)
Set Method. |
static void |
stat()
GLIDER Method. |
static void |
stat(java.lang.String fname)
GLIDER Method. |
static void |
trace()
GLIDER Method. |
static void |
trace(java.lang.String fname)
GLIDER Method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static Message mess
public static Event event
public static Node node
public static LEvents fel
public static List htrace
public static LNodes nodesl
| Constructor Detail |
public Glider()
| Method Detail |
public static void act(Node n,
double ta)
n - Node. node to activate. ta - double. Activation time. public static void endsimul()
public static int getOutf()
public static double getTime()
public static java.lang.String getTitle()
public static double getTsim()
public static double max(double a,
double b)
a - double. Value. b - double. Value.
public static int max(int a,
int b)
a - int. Value. b - int. Value.
public static double min(double a,
double b)
a - double. Value. b - double. Value.
public static int min(int a,
int b)
a - int. Value. b - int. Value. public static java.lang.String format(double n)
n - double. Double to process. public static void process()
public static void setEos(boolean end)
end - boolean. Flag to end of simulation. public static void setOutf(int n)
n - int. Counter to decimal format. public static void setTime(double t)
t - double. Current simulation time. public static void setTitle(java.lang.String n)
n - String. Models' name. public static void setTsim(double t)
t - double. Total simulation time. public static void stat()
public static void stat(java.lang.String fname)
fname - String. Statistics file's name. public static void trace()
public static void trace(java.lang.String fname)
fname - String. Statistics file's name.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||