List of usage examples for org.apache.commons.collections15 Transformer interface-usage
From source file edu.uci.ics.jung.visualization.decorators.PickableVertexIconTransformer.java
/** * Supplies an Icon for each vertex according to the <code>Icon</code> * parameters given in the constructor, so that picked and * non-picked vertices can be made to look different. */ public class PickableVertexIconTransformer<V> implements Transformer<V, Icon> {
From source file edu.uci.ics.jung.algorithms.scoring.util.UniformInOut.java
/**
* Assigns weights to directed edges (the edge of the vertex/edge pair) depending on
* whether the vertex is the edge's source or its destination.
* If the vertex v is the edge's source, assigns 1/outdegree(v).
* Otherwise, assigns 1/indegree(w).
* Throws <code>IllegalArgumentException</code> if the edge is not directed.
From source file edu.zju.cs.ooobgy.visualization.decorators.AbstractEdgeShapeTransformer.java
/**
* An interface for decorators that return a
* <code>Shape</code> for a specified edge.
*
* @author Tom Nelson
*/
From source file cu.trustGrapher.visualizer.VertexPlacer.java
/**
* Transforms the input type into a random location within
* the bounds of the Dimension property.
* This is used as the backing Transformer for the LazyMap
* for many Layouts,
* and provides a random location for unmapped vertex keys
From source file logicProteinHypernetwork.networkStates.minimalNetworkStatesToNetworkStates.MinimalNetworkStatesToNetworkStates.java
/**
* Transforms minimal network states to maximal combinations of not clashing minimal
* network states in the form of network states.
*
* @author Johannes Kster <johannes.koester@tu-dortmund.de>
*/
From source file edu.uci.ics.jung.algorithms.scoring.util.UniformDegreeWeight.java
/**
* An edge weight function that assigns weights as uniform
* transition probabilities.
* For undirected edges, returns 1/degree(v) (where 'v' is the
* vertex in the VEPair.
* For directed edges, returns 1/outdegree(source(e)) (where 'e'
From source file edu.uci.ics.jung.visualization.decorators.PickableEdgePaintTransformer.java
/**
* Paints each edge according to the <code>Paint</code>
* parameters given in the constructor, so that picked and
* non-picked edges can be made to look different.
*
* @author Tom Nelson
From source file edu.uci.ics.jung.visualization3d.decorators.PickableVertexPaintTransformer.java
/** * Paints each vertex according to the <code>Paint</code> * parameters given in the constructor, so that picked and * non-picked vertices can be made to look different. */ public class PickableVertexPaintTransformer<V> implements Transformer<V, Paint> {
From source file logicProteinHypernetwork.formulas.ConstraintsToFormula.java
/** * Transforms all constraints into one conjunctive propositional logic formula. * @author Johannes Kster <johannes.koester@tu-dortmund.de> */ public class ConstraintsToFormula implements Transformer<ProteinHypernetwork, Formula<NetworkEntity>> {
From source file logicProteinHypernetwork.formulas.InteractionToDefaultConstraint.java
/**
* Generates the default constraint for an interaction.
*
* @author Johannes Kster <johannes.koester@tu-dortmund.de>
* @deprecated
*/