se.optimatika.jfree.chart
Class MonteCarloBuilder

java.lang.Object
  extended by org.ojalgo.type.ChartBuilder<JFreeChartAdaptor,B>
      extended by se.optimatika.jfree.chart.JFreeChartBuilder<B>
          extended by se.optimatika.jfree.chart.HistoryAndForecastBuilder
              extended by se.optimatika.jfree.chart.MonteCarloBuilder

public class MonteCarloBuilder
extends HistoryAndForecastBuilder

Author:
apete

Nested Class Summary
 
Nested classes/interfaces inherited from class org.ojalgo.type.ChartBuilder
ChartBuilder.ChartResource<T>, ChartBuilder.Orientation, ChartBuilder.Priority
 
Constructor Summary
MonteCarloBuilder(Access2D<?> aCorrelationsMatrix, List<SimpleAsset> someAssets)
           
MonteCarloBuilder(Access2D<?> aCorrelationsMatrix, List<SimpleAsset> someAssets, CalendarDateUnit assetDataUnit)
           
 
Method Summary
 void add(CalendarDateSeries<?> aSeries)
           
 void add(CoordinationSet<?> aSet)
           
 JFreeChartAdaptor build()
           
 MonteCarloBuilder confidence(double aValue)
           
 se.optimatika.jfree.chart.CalendarDateSeriesCollection deviationRenderer(boolean flag)
           
 se.optimatika.jfree.chart.CalendarDateSeriesCollection deviationRendererAlpha(float value)
           
 B domainAnnotation(String text, Number value)
           
 B domainBase(double base)
           
 B domainFormat(NumberFormat aFormat)
           
 B domainInterval(double lower, double upper)
           
 B domainInverted(boolean inverted)
           
 B domainLabel(String aLabel)
           
 B domainLogarithmic(boolean flag)
           
 MonteCarloBuilder range(CalendarDateDuration aValue)
           
 B rangeBase(double base)
           
 B rangeFormat(NumberFormat aFormat)
           
 B rangeInterval(double lower, double upper)
           
 B rangeLabel(String aLabel)
           
 B rangeLogarithmic(boolean flag)
           
 MonteCarloBuilder rebalance(CalendarDateDuration aValue)
           
 MonteCarloBuilder resolution(CalendarDateUnit aValue)
           
 MonteCarloBuilder scenarios(int aValue)
           
 
Methods inherited from class se.optimatika.jfree.chart.JFreeChartBuilder
plotBackground, plotOutline, tooltips, urls
 
Methods inherited from class org.ojalgo.type.ChartBuilder
background, border, legend, orientation, priority, title
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MonteCarloBuilder

public MonteCarloBuilder(Access2D<?> aCorrelationsMatrix,
                         List<SimpleAsset> someAssets)

MonteCarloBuilder

public MonteCarloBuilder(Access2D<?> aCorrelationsMatrix,
                         List<SimpleAsset> someAssets,
                         CalendarDateUnit assetDataUnit)
Method Detail

build

public JFreeChartAdaptor build()
Overrides:
build in class HistoryAndForecastBuilder

confidence

public final MonteCarloBuilder confidence(double aValue)

range

public final MonteCarloBuilder range(CalendarDateDuration aValue)

rebalance

public final MonteCarloBuilder rebalance(CalendarDateDuration aValue)

resolution

public final MonteCarloBuilder resolution(CalendarDateUnit aValue)

scenarios

public final MonteCarloBuilder scenarios(int aValue)

add

public void add(CalendarDateSeries<?> aSeries)

add

public void add(CoordinationSet<?> aSet)

deviationRenderer

public se.optimatika.jfree.chart.CalendarDateSeriesCollection deviationRenderer(boolean flag)

deviationRendererAlpha

public se.optimatika.jfree.chart.CalendarDateSeriesCollection deviationRendererAlpha(float value)

domainAnnotation

public final B domainAnnotation(String text,
                                Number value)

domainBase

public B domainBase(double base)

domainFormat

public final B domainFormat(NumberFormat aFormat)

domainInterval

public B domainInterval(double lower,
                        double upper)

domainInverted

public final B domainInverted(boolean inverted)

domainLabel

public final B domainLabel(String aLabel)

domainLogarithmic

public final B domainLogarithmic(boolean flag)

rangeBase

public B rangeBase(double base)

rangeFormat

public final B rangeFormat(NumberFormat aFormat)

rangeInterval

public B rangeInterval(double lower,
                       double upper)

rangeLabel

public final B rangeLabel(String aLabel)

rangeLogarithmic

public final B rangeLogarithmic(boolean flag)