public class DISPLAY
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
DISPLAY_MODE_ON
This static field is use to switch between a display and non display mode.
|
protected static boolean |
DISPLAY_RESULT_MODE_ON
This static field is use to display or not the result.
|
protected static boolean |
GRAPHIC_DISPLAY_MODE_ON
This field is use to activate or not the graph display mode
|
protected static org.graphstream.graph.Graph |
graphJunctionTree
This field contain the junction tree (if the graph display mode is on).
|
| Constructor and Description |
|---|
DISPLAY() |
| Modifier and Type | Method and Description |
|---|---|
static org.graphstream.graph.Graph |
getGraphJunctionTree()
The getter on the Graph field
|
static void |
GRAPH(java.lang.String title,
Graph graph)
This method is used to display graphs
|
static boolean |
isDISPLAY_DETAILS_OR_ON()
This method allows to know if the details mode is on or off
|
static boolean |
isDISPLAY_MODE_ON()
This method allows to know if the display mode is on or off
|
static boolean |
isDISPLAY_RESULT_MODE_ON()
This method allows to know if the result mode is on or off
|
static boolean |
isGRAPHIC_DISPLAY_MODE_ON()
This method allows to know if the graph display mode is on or off
|
static void |
junctionTree(java.util.List<JunctionTreeCell> junctionTree,
java.lang.String title)
This method is here to display the junction free using the "JunctiontreeCeel" representation
|
static void |
MORAL_GRAPH(java.lang.String title,
java.util.List<MoralGraphCell> moralGraph)
This method displays moral graphs
|
static void |
setDISPLAY_DETAILS_OR_ON(boolean aDISPLAY_DETAILS_OR_ON)
This method allows to set the details display mode.
|
static void |
setDISPLAY_MODE_ON(boolean aDISPLAY_MODE_ON)
This method allows to set the display mode on is or off
|
static void |
setDISPLAY_RESULT_MODE_ON(boolean aDISPLAY_RESULT_MODE_ON)
This method allows to set the results display mode.
|
static void |
setGRAPHIC_DISPLAY_MODE_ON(boolean aGRAPHIC_DISPLAY_MODE_ON)
This method allows to set the graph display mode.
|
static void |
setGraphJunctionTree(org.graphstream.graph.Graph aGraphJunctionTree)
The setter on the graph field
|
static void |
START_MESSAGE(java.lang.String title)
A method that display an introductory line to the message transmission
|
static void |
WETOILE_AND_WMAX(int Wetoile,
int Wmax)
This method displays the test of Wmax and W star (i.e., : test if the maximal weight spanning tree is a junction tree )
|
protected static boolean DISPLAY_MODE_ON
protected static boolean DISPLAY_RESULT_MODE_ON
protected static boolean GRAPHIC_DISPLAY_MODE_ON
protected static org.graphstream.graph.Graph graphJunctionTree
public static org.graphstream.graph.Graph getGraphJunctionTree()
public static void setGraphJunctionTree(org.graphstream.graph.Graph aGraphJunctionTree)
aGraphJunctionTree - the new graph which represent the junction tree visuallypublic static boolean isDISPLAY_MODE_ON()
public static void setDISPLAY_MODE_ON(boolean aDISPLAY_MODE_ON)
aDISPLAY_MODE_ON - the value of the new state of displaypublic static boolean isGRAPHIC_DISPLAY_MODE_ON()
public static void setGRAPHIC_DISPLAY_MODE_ON(boolean aGRAPHIC_DISPLAY_MODE_ON)
aGRAPHIC_DISPLAY_MODE_ON - the value of the new state of graph displaypublic static void GRAPH(java.lang.String title,
Graph graph)
title - the name of the graphgraph - the graph that must be displayedpublic static void WETOILE_AND_WMAX(int Wetoile,
int Wmax)
Wetoile - the value of W starWmax - the value of W maxpublic static void MORAL_GRAPH(java.lang.String title,
java.util.List<MoralGraphCell> moralGraph)
title - the title of the moral graphmoralGraph - the moral graph that must be displayedpublic static void START_MESSAGE(java.lang.String title)
title - the title of messages exchangepublic static boolean isDISPLAY_RESULT_MODE_ON()
public static void setDISPLAY_RESULT_MODE_ON(boolean aDISPLAY_RESULT_MODE_ON)
aDISPLAY_RESULT_MODE_ON - the value of the new state of results displaypublic static void junctionTree(java.util.List<JunctionTreeCell> junctionTree, java.lang.String title)
junctionTree - A list of "JunctionTreeCell" that represent the junction treetitle - The title f the junction treepublic static boolean isDISPLAY_DETAILS_OR_ON()
public static void setDISPLAY_DETAILS_OR_ON(boolean aDISPLAY_DETAILS_OR_ON)
aDISPLAY_DETAILS_OR_ON - the value of the new state of details display