00001 // Copyright (C) 2005 Alexander Ushakov 00002 // Contents: Definition of class BraidGroup 00003 // 00004 // Principal Authors: Alexander Ushakov 00005 // 00006 // Revision History: 00007 // 00008 00009 #ifndef _BraidGroup_H_ 00010 #define _BraidGroup_H_ 00011 00012 #include "Word.h" 00013 00014 00015 //---------------------------------------------------------------------------// 00016 //-------------------------------- BraidGroup -------------------------------// 00017 //---------------------------------------------------------------------------// 00018 00019 00021 00026 class BraidGroup 00027 { 00029 // // 00030 // Constructors // 00031 // // 00033 public: 00034 00036 BraidGroup( int n ) : theRank(n) { } 00037 00039 // // 00040 // Accessors: // 00041 // // 00043 00044 public: 00045 00047 int getRank( ) const { return theRank; } 00049 Word twist( const Word& w ) const; 00050 00051 00053 // // 00054 // Data members // 00055 // // 00057 private: 00058 00059 int theRank; 00060 // specifies the number of strands (number of generators + 1) 00061 00062 }; 00063 00064 #endif