org.grinvin.generators.graphs

Class FilteredInvariantListGeneratorSink

Implemented Interfaces:
GraphGeneratorSink

public class FilteredInvariantListGeneratorSink
extends InvariantListGeneratorSink

Graph generator sink which computes invariants for graph bundles handed to it that pass through a certain filter.

Field Summary

Fields inherited from class org.grinvin.generators.graphs.InvariantListGeneratorSink

>result, computers

Constructor Summary

FilteredInvariantListGeneratorSink(Invariant[] invariants, GraphFilter filter)
Create a sink which computes the values of all given invariants for all graph bundles handed to it.

Method Summary

@Override
void receiveGraphBundle(GraphBundle bundle)

Methods inherited from class org.grinvin.generators.graphs.InvariantListGeneratorSink

> getListOfInvariantValues, createGraphBundle, receiveGraphBundle

Constructor Details

FilteredInvariantListGeneratorSink

public FilteredInvariantListGeneratorSink(Invariant[] invariants,
                                          GraphFilter filter)
Create a sink which computes the values of all given invariants for all graph bundles handed to it.

Method Details

void receiveGraphBundle

public @Override void receiveGraphBundle(GraphBundle bundle)