Cytoscape 2.8.0 API

cytoscape.util
Interface Scaler

All Known Implementing Classes:
AbstractScaler

public interface Scaler

Used to scale a list of values to [a,b]


Method Summary
 double[] scale(Collection<Double> values, double a, double b)
           
 float[] scale(Collection<Float> values, float a, float b)
           
 double[] scale(double[] values, double a, double b)
           
 float[] scale(float[] values, float a, float b)
           
 

Method Detail

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

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.