Alex Bikfalvi
SimStream Documentation
ModelChannelPowerlaw.h
00001 #pragma once 00002 00003 #include "ModelChannel.h" 00004 00005 class CModelChannelPowerLaw : public CModelChannel 00006 { 00007 private: 00008 unsigned int numChannels; 00009 double durationMin; 00010 double durationMax; 00011 double alpha; 00012 00013 public: 00014 CModelChannelPowerLaw( 00015 unsigned int numChannels, 00016 double durationMin, 00017 double durationMax, 00018 double alpha 00019 ); 00020 virtual ~CModelChannelPowerLaw() { } 00021 00022 virtual void GenerateUptime(__uint32 &channel, __time &duration); 00023 virtual void GenerateUptime(__uint32 oldChannel, __time oldDuration, __uint32 &newChannel, __time &newDuration); 00024 };
Last updated: February 8, 2011