frepple::utils::TimeLine< type >::EventMinQuantity Class Reference

A timeline event representing a change of the minimum target. More...

#include <timeline.h>

Inheritance diagram for frepple::utils::TimeLine< type >::EventMinQuantity:

Public Member Functions

 EventMinQuantity (Date d, double f=0.0)
 
virtual double getMin (bool inclusive=true) const
 
virtual unsigned short getType () const
 
void setMin (double f)
 
- Public Member Functions inherited from frepple::utils::TimeLine< type >::Event
double getCumulativeConsumed () const
 
double getCumulativeProduced () const
 
const DategetDate () const
 
virtual double getMax (bool inclusive=true) const
 
double getOnhand () const
 
virtual double getQuantity () const
 
virtual TimeLine< type > * getTimeLine () const
 
bool operator< (const Event &fl2) const
 
virtual ~Event ()
 

Protected Attributes

EventMinQuantityprevMin
 
- Protected Attributes inherited from frepple::utils::TimeLine< type >::Event
double cum_prod
 
Date dt
 
Eventnext
 
double oh
 
Eventprev
 

Friends

class Event
 
class TimeLine< type >
 

Additional Inherited Members

- Protected Member Functions inherited from frepple::utils::TimeLine< type >::Event
 Event ()
 

Detailed Description

template<class type>
class frepple::utils::TimeLine< type >::EventMinQuantity

A timeline event representing a change of the minimum target.

Definition at line 147 of file timeline.h.

Constructor & Destructor Documentation

template<class type>
frepple::utils::TimeLine< type >::EventMinQuantity::EventMinQuantity ( Date  d,
double  f = 0.0 
)
inline

Definition at line 156 of file timeline.h.

Member Function Documentation

template<class type>
virtual double frepple::utils::TimeLine< type >::EventMinQuantity::getMin ( bool  inclusive = true) const
inlinevirtual

This functions returns the mimimum boundary valid at the time of this event.

Reimplemented from frepple::utils::TimeLine< type >::Event.

Definition at line 159 of file timeline.h.

template<class type>
virtual unsigned short frepple::utils::TimeLine< type >::EventMinQuantity::getType ( ) const
inlinevirtual

Implements frepple::utils::TimeLine< type >::Event.

Definition at line 164 of file timeline.h.

template<class type>
void frepple::utils::TimeLine< type >::EventMinQuantity::setMin ( double  f)
inline

Definition at line 158 of file timeline.h.

Friends And Related Function Documentation

template<class type>
friend class Event
friend

Definition at line 150 of file timeline.h.

template<class type>
friend class TimeLine< type >
friend

Definition at line 149 of file timeline.h.

Member Data Documentation

template<class type>
EventMinQuantity* frepple::utils::TimeLine< type >::EventMinQuantity::prevMin
protected

Definition at line 154 of file timeline.h.


The documentation for this class was generated from the following file: