File: multipleStochasticProcess.h

package info (click to toggle)
fastml 3.11-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,772 kB
  • sloc: cpp: 48,522; perl: 3,588; ansic: 819; makefile: 386; python: 83; sh: 55
file content (23 lines) | stat: -rw-r--r-- 604 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _MULTIPLE_STOCHASTIC_PROCESS
#define _MULTIPLE_STOCHASTIC_PROCESS

#include "stochasticProcess.h"


class multipleStochasticProcess {
public:
	multipleStochasticProcess();
	virtual ~multipleStochasticProcess();
	virtual MDOUBLE getProb(int spPlace) const;
	virtual stochasticProcess* getSp(int spPlace);
	virtual int getSPVecSize() const {return _spVec.size();}
	virtual void setSpVec(vector<stochasticProcess>& spVec);

    
protected:
	virtual void copy(const multipleStochasticProcess * pOther);
protected:
	vector<stochasticProcess> _spVec;
	Vdouble _spProb;
};
#endif