Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

probability/SBurstDist.h

Go to the documentation of this file.
00001 /* #start# ***********************************************************
00002 
00003            Scheduling Simulator
00004         Lehrstuhl f"ur Effiziente Algorithmen
00005            Technische Universit"at M"unchen
00006 
00007  File    : $Id: SBurstDist.h,v 1.2 2003/04/12 11:34:56 meierb Exp $
00008 
00009  Purpose : 
00010 
00011  * #end# ************************************************************* */
00012 
00013 #ifndef SBURSTDIST_H
00014 #define SBURSTDIST_H
00015 
00016 #include "SProbabilityDist.h"
00017 #include "SExpDist.h"
00018 #include "SMarkovChain.h"
00019 
00029 class SBurstDist : public SProbabilityDist  {
00030 public: 
00031   SBurstDist();
00032 
00033   virtual double getValue();
00034 
00035   virtual double getExpectation() const{
00036     return 1/_p;
00037   }
00038 
00039 
00043   virtual Type getType() const
00044   { return BURSTY; };
00045 
00046 private:
00047   SExpDist* expdist;
00048   SMarkovChain* mchain;
00049   double _p;
00050 };
00051 
00052 #endif

Generated on Thu May 22 16:48:09 2003 for Sketch-it! by doxygen1.2.18