|
Algorithm Development Kit 1.0 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectalgs.model.gametree.debug.MinMaxNode
public class MinMaxNode
Represents a Min or Max node in the debugging output.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface algs.debug.IGraphEntity |
|---|
IGraphEntity.Formatter |
| Constructor Summary | |
|---|---|
MinMaxNode(java.util.Comparator<java.lang.Integer> selector)
Construct node based upon its MIN/MAX type. |
|
| Method Summary | |
|---|---|
java.lang.String |
fontName()
To properly draw INF/-INF in symbol font. |
int |
fontSize()
Default font size to use is ok. |
java.lang.String |
nodeLabel()
Show computed value with prefix of MIN/MAX as appropriate. |
int |
value()
Return the value of the node. |
void |
value(int value)
Set the computed value for the node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MinMaxNode(java.util.Comparator<java.lang.Integer> selector)
selector - MIN or MAX
java.lang.IllegalArgumentException - if neither MIN nor MAX is the actual parameter.| Method Detail |
|---|
public int value()
public void value(int value)
public java.lang.String nodeLabel()
nodeLabel in interface IGraphEntitypublic java.lang.String fontName()
fontName in interface ISelectFontpublic int fontSize()
fontSize in interface ISelectFont
|
Algorithm Development Kit 1.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||