iPE::Model::ISO(3)

NAME
iPE::Model::ISO - A simple container for ISO levels used in many of models.

DESCRIPTION
This class simply contains isochore levels which partition the parameter counting. Any model can contain this class to refer to where a particular sequence should fit in, and how to allocate parameters.

FUNCTIONS

new(ISOs => levels)
    Constructor. ISOs must be a whitespace-delimited string containing the ISO levels. For example, "35 39 100" would produce three ISO levels in the object. (This is useful for parsing the attributes of an XML tag formatted as such.)

levels
    Returns a reference to an array of isochore levels

nLevels
    Returns the number of isochore levels used

find (level)
    Finds the next highest isochore level to level. If none exists in this object, -1 is returned.

snap (level)
    Snap a level to the next highest ISO level in this iso object. If none exists in this object, -1 is returned.

findExact(level)
    Returns the position of the level which exactly matches the passed level. If no such level is found, -1 is returned.

SEE ALSO

AUTHOR
Bob Zimmermann (rpz@cse.wustl.edu)