This DynamicPipeline
class inherits from the
GenericPipeline
class. Includes the execute method
which provides a dynamic pipelining implementation.
'
This class inherits from GenericPipeline
and implements the
execute
abstract function.
bdpar::GenericPipeline
-> DynamicPipeline
new()
Creates a DynamicPipeline
object.
DynamicPipeline$new(pipeline = NULL)
pipeline
A list
of GenericPipe
objects. Initializes the flow of GenericPipe
.
add()
Adds a GenericPipe
or a
GenericPipe
list to the pipeline.
DynamicPipeline$add(pipe, pos = NULL)
pipe
A GenericPipe
object or a list
of
GenericPipe
objects.
pos
A (numeric) value. The value of the position to add.
If it is NULL, GenericPipe
is appended to the pipeline.
removeByPos()
Removes GenericPipes
by the position on the
pipeline.
DynamicPipeline$removeByPos(pos)
pos
A (numeric) value. The value of the position to remove.
removeByPipe()
Removes GenericPipes
by its name on the
pipeline.
DynamicPipeline$removeByPipe(pipe.name)
pipe.name
A (character) value. The
GenericPipes
name to remove.
removeAll()
Removes all GenericPipes
included on pipeline.
DynamicPipeline$removeAll()
execute()
Function where is implemented the flow of the
GenericPipes
.
DynamicPipeline$execute(instance)
instance
A (Instance) value. The Instance
that is going to be processed.
get()
Gets a list with containing the set of GenericPipes
of the pipeline.
DynamicPipeline$get()
The set of GenericPipes
containing the pipeline.
print()
Prints pipeline representation. (Override print function)
DynamicPipeline$print(...)
...
Further arguments passed to or from other methods.
DynamicPipeline
character
representation
clone()
The objects of this class are cloneable with this method.
DynamicPipeline$clone(deep = FALSE)
deep
Whether to make a deep clone.
bdpar.log
, Instance
,
DefaultPipeline
, GenericPipeline
,
GenericPipe
, %>|%