br.usp.iterador.internal.logic
Class BasicExecutionIterable

java.lang.Object
  extended by br.usp.iterador.internal.logic.BasicExecutionIterable
All Implemented Interfaces:
ExecutionIterable

public abstract class BasicExecutionIterable
extends java.lang.Object
implements ExecutionIterable


Field Summary
protected  double[] _x
           
protected  java.awt.Color currentColor
           
protected  int iteration
           
 
Constructor Summary
BasicExecutionIterable()
           
 
Method Summary
 double[] get_X()
          Returns the X array
 java.awt.Color getColor()
          Returns its color
 int getIteration()
          Returns the current iteration.
 void iterate()
          Tells this iteration to change to the next iteration
 void set_X(double[] t)
           
 void setColor(java.awt.Color newColor)
          Changes its color
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface br.usp.iterador.internal.logic.ExecutionIterable
getRealValue, nextIntermediateRound, nextRound, prepare, runPieceOfCode
 

Field Detail

iteration

protected int iteration

currentColor

protected java.awt.Color currentColor

_x

protected double[] _x
Constructor Detail

BasicExecutionIterable

public BasicExecutionIterable()
Method Detail

getColor

public java.awt.Color getColor()
Description copied from interface: ExecutionIterable
Returns its color

Specified by:
getColor in interface ExecutionIterable
Returns:
its color

setColor

public void setColor(java.awt.Color newColor)
Description copied from interface: ExecutionIterable
Changes its color

Specified by:
setColor in interface ExecutionIterable
Parameters:
newColor - color

get_X

public double[] get_X()
Description copied from interface: ExecutionIterable
Returns the X array

Specified by:
get_X in interface ExecutionIterable
Returns:
the x array

set_X

public void set_X(double[] t)
Specified by:
set_X in interface ExecutionIterable

getIteration

public int getIteration()
Returns the current iteration.

Specified by:
getIteration in interface ExecutionIterable
Returns:
the iteration

iterate

public void iterate()
Tells this iteration to change to the next iteration

Specified by:
iterate in interface ExecutionIterable


Copyright 2004-2004-2006 IME - USP. All Rights Reserved.