global.h
资源名称:leda.tar.gz [点击查看]
上传用户:gzelex
上传日期:2007-01-07
资源大小:707k
文件大小:1k
源码类别:
数值算法/人工智能
开发平台:
MultiPlatform
- /*******************************************************************************
- +
- + LEDA-R 3.2.3
- +
- + global.h
- +
- + Copyright (c) 1995 by Max-Planck-Institut fuer Informatik
- + Im Stadtwald, 66123 Saarbruecken, Germany
- + All rights reserved.
- +
- *******************************************************************************/
- #ifndef LEDA_GLOBAL_H
- #define LEDA_GLOBAL_H
- //------------------------------------------------------------------------------
- // global types, constants, and macros
- //------------------------------------------------------------------------------
- typedef void* GenPtr; // generic pointer type
- enum { after = 0, before = 1 };
- enum { forward = 0, backward = 1 };
- #define nil 0
- #define LEDA_PI 3.14159265358979323846
- #define LEDA_PI_2 1.57079632679489661923
- #endif