|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgalatea.glider.Node
Class Node definition.
This is the base class for nodes in Galatea.
-----
Clase básica para manejo de nodos en Galatea.
| Constructor Summary | |
Node(java.lang.String name,
char type)
Constructor. |
|
Node(java.lang.String name,
char type,
Node succ)
Constructor. |
|
Node(java.lang.String name,
char type,
Node[] succ)
Constructor. |
|
Node(java.lang.String name,
int ino,
char type)
Constructor. |
|
Node(java.lang.String name,
int ino,
char type,
Node succ)
Constructor. |
|
Node(java.lang.String name,
int ino,
char type,
Node[] succ)
Constructor. |
|
| Method Summary | |
boolean |
act()
Node's activation. |
void |
act(double ta)
GLIDER Method. |
Message |
create()
GLIDER Method. |
boolean |
fact()
Node's generic activation method. |
boolean |
fscan()
Node's generic scanning method. |
List |
getEl()
Get Method. |
List |
getIl()
Get Method. |
int |
getIno()
Get Method. |
java.lang.String |
getName()
Get Method. |
char |
getType()
Get Method. |
void |
it(double it)
GLIDER Method. |
void |
nt(double nt)
GLIDER Method. |
void |
sendto(Message m)
GLIDER Method. |
void |
sendto(Message m,
LMess l)
GLIDER Method. |
void |
sendto(Message m,
Node n)
Glider Method. |
void |
sendto(Message m,
Node[] n)
GLIDER Method. |
void |
sendto(Message m,
Node[] n,
int ino)
GLIDER Method. |
void |
setCap(int cap)
Set Method. |
java.lang.String |
stat()
GLIDER Mehtod. |
void |
stay(double xt)
GLIDER Method. |
void |
stay(Message m,
double xt)
GLIDER Method. |
java.lang.String |
toString()
Visual Method. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Node(java.lang.String name,
char type)
name - String. Node's name. type - char Node's type.
public Node(java.lang.String name,
char type,
Node[] succ)
name - String. Node's name. type - char Node's type. succ - Node. Sucessors.
public Node(java.lang.String name,
char type,
Node succ)
name - String. Node's name. type - char Node's type. succ - Node. Sucessor.
public Node(java.lang.String name,
int ino,
char type)
name - String. Node's name. ino - int. Multiplicity. type - char Node's type.
public Node(java.lang.String name,
int ino,
char type,
Node[] succ)
name - String. Node's name. ino - int. Multiplicity. type - char Node's type. succ - Node. Sucessors.
public Node(java.lang.String name,
int ino,
char type,
Node succ)
name - String. Node's name. ino - int. Multiplicity. type - char Node's type. succ - Node. Sucessor. | Method Detail |
public boolean act()
public void act(double ta)
ta - double. Activation time. public Message create()
public boolean fact()
public boolean fscan()
public List getEl()
public List getIl()
public int getIno()
public java.lang.String getName()
public char getType()
public void it(double it)
throws galatea.glider.ErrorNode
it - double. Interval time. ErrorNode - Error Message: It isn't available for continous nodes.
public void nt(double nt)
throws galatea.glider.ErrorNode
nt - double. Next time. ErrorNode - Error Message: It isn't available for continous nodes.
public void sendto(Message m)
throws galatea.glider.ErrorNode
m - Message. Message. ErrorNode - Error Message: It isn't available for exit nodes.
public void sendto(Message m,
Node[] n)
throws galatea.glider.ErrorNode
m - Message. Message. n - Node. Node. ErrorNode - Error Message: It isn't available for exit nodes.
public void sendto(Message m,
Node[] n,
int ino)
throws galatea.glider.ErrorNode
m - Message. Message. n - Node. Node. ino - int. Node's instance. In (#,FREE,MIN,INO). ErrorNode - Error Message:
public void sendto(Message m,
LMess l)
throws galatea.glider.ErrorNode
m - Message. Message. l - List. List. ErrorNode - Error Message: It isn't available for exit nodes.
public void sendto(Message m,
Node n)
throws galatea.glider.ErrorNode
m - Message. Message. n - Node. Node. ErrorNode - Error Message: It isn't available for exit nodes.
public void setCap(int cap)
throws galatea.glider.ErrorNode
cap - int. Node's capacity. ErrorNode - Error Message: It is available only for resource nodes. public java.lang.String stat()
public void stay(double xt)
throws galatea.glider.ErrorNode
xt - double. Exit time. ErrorNode - Error Message: It is available only for resource nodes.
public void stay(Message m,
double xt)
throws galatea.glider.ErrorNode
m - Message. Message. xt - double. Exit time. ErrorNode - Error Message: It is available only for resource nodes. public java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||