|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.debellor.core.Cell
org.debellor.base.FlattenVectors
public class FlattenVectors
Flattens DataVectors whose items are other DataVectors.
The items are concatenated into a single DataVector.
This is done only for data field of samples,
decision is untouched.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.debellor.core.Cell |
|---|
Cell.CellMethod, Cell.State, Cell.Stream |
| Field Summary |
|---|
| Fields inherited from class org.debellor.core.Cell |
|---|
parameters, random |
| Constructor Summary | |
|---|---|
FlattenVectors()
|
|
| Method Summary | |
|---|---|
protected void |
onClose()
Called by Cell.Stream.close(). |
protected Sample |
onNext()
Called by Cell.Stream.next(). |
protected Sample.SampleType |
onOpen()
Called by Cell.open(). |
| Methods inherited from class org.debellor.core.Cell |
|---|
close, erase, getAvailableParams, getParameters, learn, newThread, newThread, next, onErase, onLearn, open, openInputStream, set, set, set, set, setAvailableParams, setParameters, setRandomSeed, setSource, state, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FlattenVectors()
| Method Detail |
|---|
protected Sample.SampleType onOpen()
throws java.lang.Exception
CellCell.open(). Performs the actual opening of
communication session,
while open checks only against access violation and handles exceptions.
Must be overridden in subclasses if open is to be used.
Overriders may assume that the cell is in Cell.State.CLOSED state.
onOpen in class Celljava.lang.Exception
protected Sample onNext()
throws java.lang.Exception
CellCell.Stream.next(). Performs the actual generation of the next output sample,
while Stream.next() checks only against access violation and handles exceptions.
Must be overridden in the subclass if next is to be used, i.e.
if the subclass should generate some output data.
Overriders may assume that the cell is in Cell.State.OPEN state.
onNext in class Celljava.lang.Exception
protected void onClose()
throws java.lang.Exception
CellCell.Stream.close(). Performs the actual closing of
communication session,
while close checks only against access violation and handles exceptions.
Must be overridden in subclasses if close is to be used.
Usually the overrider will use onClose to release resources,
to let them be garbage-collected.
Overriders may assume that the cell is in Cell.State.OPEN state.
onClose in class Celljava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||