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

/magnus/back_end/Group/include/RandomMSCGroup.h

Go to the documentation of this file.
00001 /*
00002  *   $Id: RandomMSCGroup.h, v 1.0
00003  */
00004 
00005 // Copyright (C) 1995 The New York Group Theory Cooperative
00006 // See magnus/doc/COPYRIGHT for the full notice.
00007 
00008 // Contents: Definition of the RandomMSCGroup class
00009 //
00010 // Principal Author: Dmitry Bormotov
00011 //
00012 // Status: in progress
00013 //
00014 // Usage:
00015 //
00016 // Special Notes:
00017 //
00018 // Revision History:
00019 //
00020 
00021 #ifndef _RANDOM_MSC_GROUP_H_
00022 #define _RANDOM_MSC_GROUP_H_
00023 
00024 #include "MSCGroup.h"
00025 #include "RandomNumbers.h"
00026 #include "NormalRandomWord.h"
00027 
00028 
00029 //----------------------- RandomMSCGroup ---------------------------//
00030 
00031 
00032 class RandomMSCGroup {
00033 
00034 public:
00035 
00036   ///////////////////////////////////////////////////////
00037   //                                                   //
00038   //  Constructors:                                    //
00039   //                                                   //
00040   ///////////////////////////////////////////////////////
00041 
00042   RandomMSCGroup ( 
00043     int numOfGenerators, int generatorsSeed,
00044     int meanLengthOfRelators, int lengthOfRelatorsStddev, int lengthOfRelatorsSeed, 
00045     int meanNumberOfRelators, int numberOfRelatorsStddev, int numberOfRelatorsSeed
00046   ) :
00047     numOfGens ( numOfGenerators ), gensSeed ( generatorsSeed ),
00048     meanLenOfRels ( meanLengthOfRelators ), lenOfRelsStddev ( lengthOfRelatorsStddev ),
00049     lenOfRelsSeed ( lengthOfRelatorsSeed ),  meanNumOfRels ( meanNumberOfRelators ), 
00050     numOfRelsStddev ( numberOfRelatorsStddev ), numOfRelsSeed ( numberOfRelatorsSeed )
00051   { }
00052 
00053   ///////////////////////////////////////////////////////
00054   //                                                   //
00055   //  Accessors:                                       //
00056   //                                                   //
00057   ///////////////////////////////////////////////////////
00058 
00059   FPGroup getRandomMSCGroup();
00060   // This is non const functions.
00061 
00062 private:
00063  
00064 
00065   ///////////////////////////////////////////////////////
00066   //                                                   //
00067   //  Data members:                                    //
00068   //                                                   //
00069   ///////////////////////////////////////////////////////
00070 
00071   int numOfGens;
00072   int gensSeed;
00073   int meanLenOfRels;
00074   int lenOfRelsStddev;
00075   int lenOfRelsSeed;
00076   int meanNumOfRels;
00077   int numOfRelsStddev;
00078   NormalRandom numOfRelsSeed;
00079 
00080 };
00081 
00082 #endif

Generated at Tue Jun 19 09:49:36 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001