Package 

Class ConrecIsolinesFinder

  • All Implemented Interfaces:
    it.unibo.alchemist.boundary.gui.isolines.IsolinesFinder

    
    public class ConrecIsolinesFinder
     implements IsolinesFinder
                        

    Conrec algorithm adapter to IsolinesFinder interface.

    • Constructor Detail

      • ConrecIsolinesFinder

        ConrecIsolinesFinder(IsolinesFactory factory)
        Parameters:
        factory - - the factory used to create segments and isolines
    • Method Detail

      • findIsolines

         Collection<Isoline> findIsolines(IsolinesFinder.BidimensionalFunction function, Number x1, Number y1, Number x2, Number y2, Collection<Number> levels)

        Find the isolines of the given function. You can specify which isolines will be extracted with thelevels parameter: for each value included in the collection, the corresponding isoline will beextracted. Isolines will be calculated within a rectangular region defined by two opposite vertexes.This means that the algorithm will not consider the space outside the given region at all.