cytoscape.util
Interface Scaler
- All Known Implementing Classes:
- AbstractScaler
public interface Scaler
Used to scale a list of values to [a,b]
scale
double[] scale(double[] values,
double a,
double b)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
scale
double[] scale(Collection<Double> values,
double a,
double b)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
scale
float[] scale(float[] values,
float a,
float b)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
scale
float[] scale(Collection<Float> values,
float a,
float b)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright 2010 Cytoscape Consortium. All rights reserved.