T
- the base type for the representation.public abstract class Representation<T>
extends java.lang.Object
Constructor and Description |
---|
Representation() |
Modifier and Type | Method and Description |
---|---|
abstract Representation<T> |
duplicate()
Duplicates the representation.
|
abstract int |
getSize()
Returns the size of the solution vector.
|
abstract T |
getSolution()
Returns the solution vector.
|
abstract void |
setSolution(T x)
Replaces the solution vector.
|
public abstract int getSize()
public abstract T getSolution()
public abstract void setSolution(T x)
x
- the solution vector.public abstract Representation<T> duplicate()