hello Up : Main Prev : Codes Next : Download Source Releases

CaGe V0.3

Internal constants

In this section internal constants are discussed. The behaviour of CaGe depends on the values of some internal constants. Usually there is no need to change the values of these constants. Changing the values is done by editing the source program CaGe.c and then recompiling the source code (using the command make --- see README file). This means that you need to have basic knowledge about the programming language C. The following constants are listed at the top of the source code (called public definitions) or after the first big comment page (called internal definitions):
  • ENDIAN_OUT/ENDIAN_IN: The value depends on the machine the source code is compiled on. SGI machines are known to be big endian while most other machines are little endian. If the definition does not fit to your computer, you do not need to change it if other programs which interact with CaGe are able to handle both little and big endian. Furthermore, you do not need to change it if the endian is unimportant (see section codes ).
  • MAXN: If an input graph has more vertices than indicated by this number, then CaGe will do nonsense. So if you plan to read in bigger graphs, it is necessary to increase this number.
  • MAXENTRIES: This number indicates the maximum number of code entries for one input graph, using planar_code. For an n--valent vertex n+1 entries are needed (the numbers of the n adjacent vertices and a zero at the end). If an input graph requires more entries, then CaGe will do nonsense. However, this will not occur if a graph with maximal MAXN vertices or its dual will be read from one of the four generation programs fullgen, tubetype, HCgen or CPF.
  • NL: This is the string which is assumed to be the newline symbol in all ASCII--files which are read or written.