Gephi Toolkit Javadoc

org.gephi.filters.spi
Interface AttributableFilter

All Superinterfaces:
Filter
All Known Implementing Classes:
AbstractAttributeFilter, AttributeEqualBuilder.EqualBooleanFilter, AttributeEqualBuilder.EqualNumberFilter, AttributeEqualBuilder.EqualStringFilter, AttributeNonNullBuilder.AttributeNonNullFilter, AttributeRangeBuilder.AttributeRangeFilter, PartitionCountBuilder.PartitionCountFilter

public interface AttributableFilter
extends Filter

Basic filters for attributable objects (nodes or edges). For a given object the filter's role is to return true if the attributable is kept or false if it is removed.

This filter is useful for dealing with attributes, which can either be in nodes or edges. As a filter can't be for nodes and edges at the same time the filter has to return the appropriate type.

Author:
Mathieu Bastian

Nested Class Summary
static class AttributableFilter.Type
           
 
Method Summary
 boolean evaluate(Graph graph, Attributable attributable)
           
 void finish()
           
 AttributableFilter.Type getType()
           
 boolean init(Graph graph)
           
 
Methods inherited from interface org.gephi.filters.spi.Filter
getName, getProperties
 

Method Detail

init

boolean init(Graph graph)

evaluate

boolean evaluate(Graph graph,
                 Attributable attributable)

finish

void finish()

getType

AttributableFilter.Type getType()

Gephi Toolkit Javadoc