Interface CurveBuilder

All Known Implementing Classes:
CurveInterpolation.Builder

public interface CurveBuilder
Interface of builders which allow to build curve objects by successively adding points. Points cannot be added directly to a curve since curve objects are immutable (cannot be changed at a later time, i.e., after construction). Instead, a clone with an additional point is created. To efficiently create a new curve by successively adding points use this builder.
Version:
1.0
Author:
Christian Fries
  • Method Summary

    Modifier and Type Method Description
    CurveBuilder addPoint​(double time, RandomVariable value, boolean isParameter)
    Add a point to the curve.
    Curve build()
    Build the curve.
  • Method Details