|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object vishnu.model.algebra.optimizer.merit.MeritAlgorithm
public class MeritAlgorithm
Constructor Summary | |
---|---|
MeritAlgorithm()
|
Method Summary | |
---|---|
void |
attach(Relation r)
Vincula una relacion al algoritmo para su ejecucion. |
boolean |
canBePerformed()
Indica si el algoritmo puede ser ejecutado sobre la relacion definida. |
void |
cancel()
Cancela la ejecucion del algoritmo. |
Algorithm |
clone()
Clona el algoritmo. |
void |
contenders(java.util.Collection<Algorithm> c)
|
protected void |
doWait()
|
void |
innerTable(TableContext c)
Setea la tabla interior del algoritmo. |
boolean |
isCanceled()
Indica si el algoritmo fue cancelado. |
void |
leftTable(TableContext c)
Setea la tabla izquierda del algoritmo. |
void |
perform(Relation.Context c)
Ejecuta el algoritmo con el contexto dado |
protected void |
report(Algorithm a,
long time,
Relation.Context original,
Relation.Context copy)
|
void |
rightTable(TableContext c)
Setea la tabla derecha del algoritmo. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MeritAlgorithm()
Method Detail |
---|
public void contenders(java.util.Collection<Algorithm> c)
public void attach(Relation r)
Algorithm
attach
in interface Algorithm
r
- - la relacion sobre la que se ejecutara el algoritmo.public void perform(Relation.Context c)
Algorithm
perform
in interface Algorithm
c
- - el contexto de ejecucion.protected void doWait()
protected void report(Algorithm a, long time, Relation.Context original, Relation.Context copy)
public void cancel()
Algorithm
cancel
in interface Algorithm
public boolean isCanceled()
Algorithm
isCanceled
in interface Algorithm
public void innerTable(TableContext c)
UnaryAlgorithm
innerTable
in interface UnaryAlgorithm
c
- - la tabla interior del algoritmo.public void leftTable(TableContext c)
BinaryAlgorithm
leftTable
in interface BinaryAlgorithm
public void rightTable(TableContext c)
BinaryAlgorithm
rightTable
in interface BinaryAlgorithm
public boolean canBePerformed()
Algorithm
canBePerformed
in interface Algorithm
public java.lang.String toString()
toString
in class java.lang.Object
public Algorithm clone()
Algorithm
clone
in interface Algorithm
clone
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |