|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--mascoptDev.algos.abstractalgos.kfault.SwitchNode
Field Summary | |
static String |
input
|
static String |
output
|
static Color |
specialNodeColor
|
static Color |
switchColor
|
static String |
type
|
Constructor Summary | |
SwitchNode()
|
|
SwitchNode(Vertex n)
|
Method Summary | |
void |
addOneOutput()
|
void |
affiche()
|
int |
getDegree(AbstractEdgeSet e)
|
int |
getInput()
Cette methode permet de connaitre le nombre d'input |
Vertex |
getNode()
Cette methode permet d'avoir le node encapsule |
int |
getOutput()
Cette methode permet de connaitre le nombre d'output |
boolean |
isBlock()
Cette methode renvoit true si le noeud est un Block |
boolean |
isDone()
Cette methode renvoit true si le noeud a fini sonn traitement |
boolean |
isProcessing()
Cette methode renvoit true si le noeud est en cours de traitement |
boolean |
isSpecialBlock()
Cette methode renvoit true si le noeud est un Block special |
boolean |
isSwitch()
Cette methode renvoit true si le noeud est un S-Switch |
static Vertex |
newBlock(int o)
|
static Vertex |
newBlock(int i,
int o)
|
void |
setDone()
Cette methode permet de definir si le noeud a fini son traitement ou non |
void |
setInput(int input)
Cette methode permet de definir le nombre d'input |
void |
setOutput(int output)
Cette methode permet de definir le nombre d'output |
void |
setProcessing()
Cette methode permet de definir si le noeud est en cours de traitement ou non |
void |
setX(double d)
|
void |
setY(double d)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String input
public static final String output
public static final String type
public static final Color specialNodeColor
public static final Color switchColor
Constructor Detail |
public SwitchNode()
public SwitchNode(Vertex n)
Method Detail |
public static Vertex newBlock(int o)
public static Vertex newBlock(int i, int o)
public boolean isSwitch()
public boolean isBlock()
public boolean isSpecialBlock()
public boolean isProcessing()
public boolean isDone()
public void setProcessing()
public void setInput(int input)
public void setOutput(int output)
public void addOneOutput()
public int getInput()
public Vertex getNode()
public int getOutput()
public void setDone()
public void setX(double d)
public void setY(double d)
public int getDegree(AbstractEdgeSet e)
public void affiche()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |