|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--interagents.EuLab
A EuLab is click consistent when
Field Summary | |
static int |
DRAW_ALL
Constant indicating a full redraw |
static int |
DRAW_MINIMAL
Constant indicating a minimal redraw |
boolean |
drawTargets
|
int |
id
|
fundamentals.mouseInfo |
info
The default mouseinfo |
int |
maxConstructionLevel
Maximal depth of macro call in construction so far |
protected java.util.Vector |
objs
The objects in the lab. |
protected static java.lang.String |
pspostamble
|
protected static java.lang.String |
pspreamble
|
int |
segment
The code for the current segment |
java.lang.StringBuffer |
traceTree
|
static interagents.EuLab |
traceTreeGlobals
|
Constructor Summary | |
EuLab()
The constructor. |
|
EuLab(int colorScheme)
|
|
EuLab(fundamentals.mouseInfo info)
|
Method Summary | |
interagents.ObjectWithStatus |
add(objects.EuObject o)
|
int |
addPossiblyKnown(objects.EuObject o,
int n)
add to lab, flag it as sameas n, update flags |
void |
clear()
Reset the lab. |
void |
collect(interagents.EuLab other)
|
void |
collect(interagents.finalWrapper other,
interagents.EuLab lab)
|
double |
confusionDistance(objects.EuObject other)
Finds the smallest @see confusionDistance from a passed object to one on the canvas Not presently in use, but could be handy for positioning labels on objects! |
int |
count()
Count objects. |
void |
draw(java.awt.Graphics g,
int level)
|
void |
draw(java.awt.Graphics g,
fundamentals.mouseInfo info,
int level)
level currently ignored |
void |
dump()
|
java.util.Enumeration |
elements()
|
objects.EuObject |
get(int n)
|
void |
initTraceTree()
|
boolean |
isTargetConsistent()
Check whether or not lab is target consistent, see above. |
interagents.wrapItem |
lookup(objects.EuObject o)
This function does not work, because objs contains objects of the class ObjectWithStatus and not EuObject. |
interagents.ObjectWithStatus |
lookup(interagents.finalWrapper fw,
int index)
|
interagents.ObjectWithStatus |
lookup(int n)
|
interagents.ObjectWithStatus |
lookup(interagents.wrapItem wi)
|
int |
lookupIndex(objects.EuObject o)
|
int |
lookupIndex(interagents.ObjectWithStatus ows)
|
interagents.ObjectWithStatus |
lookupObject(objects.EuObject o)
|
interagents.ObjectWithStatus |
lookupSolutionObject(objects.EuObject o)
|
void |
removeElement(interagents.ObjectWithStatus ows)
|
void |
setSegment(int segment)
|
objects.EuPoint |
takeRandom(java.util.Random croupier)
|
objects.EuPoint |
takeRandom(java.util.Random croupier,
objects.EuParametrized other)
|
java.lang.String |
toPs()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Vector objs
public fundamentals.mouseInfo info
public int segment
public static final int DRAW_ALL
public static final int DRAW_MINIMAL
public int maxConstructionLevel
public boolean drawTargets
protected static java.lang.String pspreamble
protected static java.lang.String pspostamble
public java.lang.StringBuffer traceTree
public static interagents.EuLab traceTreeGlobals
public int id
Constructor Detail |
public EuLab()
public EuLab(int colorScheme)
public EuLab(fundamentals.mouseInfo info)
Method Detail |
public void clear()
public int count()
public java.util.Enumeration elements()
public void removeElement(interagents.ObjectWithStatus ows)
public boolean isTargetConsistent()
public interagents.wrapItem lookup(objects.EuObject o) throws InternalException, DesignException
InternalException
DesignException
public objects.EuObject get(int n) throws DesignException
DesignException
public interagents.ObjectWithStatus lookup(int n) throws DesignException
DesignException
public int lookupIndex(objects.EuObject o)
public int lookupIndex(interagents.ObjectWithStatus ows)
public interagents.ObjectWithStatus lookupObject(objects.EuObject o)
public interagents.ObjectWithStatus lookupSolutionObject(objects.EuObject o)
public interagents.ObjectWithStatus lookup(interagents.wrapItem wi) throws DesignException
DesignException
public interagents.ObjectWithStatus lookup(interagents.finalWrapper fw, int index) throws DesignException
DesignException
public interagents.ObjectWithStatus add(objects.EuObject o)
public int addPossiblyKnown(objects.EuObject o, int n) throws DesignException
DesignException
public void setSegment(int segment)
public void dump()
public java.lang.String toPs() throws InternalException, DesignException, UserException
InternalException
DesignException
UserException
public double confusionDistance(objects.EuObject other) throws InternalException
InternalException
public void collect(interagents.EuLab other)
public void collect(interagents.finalWrapper other, interagents.EuLab lab)
public void draw(java.awt.Graphics g, int level) throws InternalException, DesignException, UserException
InternalException
DesignException
UserException
public void draw(java.awt.Graphics g, fundamentals.mouseInfo info, int level) throws InternalException, DesignException, UserException
InternalException
DesignException
UserException
public objects.EuPoint takeRandom(java.util.Random croupier) throws UserException, InternalException, DesignException
UserException
InternalException
DesignException
public objects.EuPoint takeRandom(java.util.Random croupier, objects.EuParametrized other) throws UserException, InternalException, DesignException
UserException
InternalException
DesignException
public void initTraceTree()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |