for (BoostFunction function: functionGraph.getVertices())
{
//AssemblingPropertyChangeEventSourceByFunction TODO use this event source in case of Futures
Implements4<Predicate, HasPropertyChangeListener, Flushable, HasEventSource> vertex;
if ( function instanceof Future)
vertex = new Implements4<Predicate, HasPropertyChangeListener, Flushable, HasEventSource>(new AssemblingPropertyChangeEventSourceByFunction(function));
else
vertex = new Implements4<Predicate, HasPropertyChangeListener, Flushable, HasEventSource>(new PropertyChangeEventSourceByFunction( function));
if (function instanceof HasInternalInformation)
vertex.setInternalInformation( ((HasInternalInformation) function).getInternalInformation());
vertex.as4().setEventSource(vertex);