standardpool.h File Reference
standard pool. More...
#include "abacus/list.h"
#include "abacus/pool.h"
#include "abacus/standardpool.inc"
Go to the source code of this file.
|
Classes |
class | ABA_STANDARDPOOL< BaseType, CoType > |
| class provides a very simple implementation of a pool which is sufficient for a large class of applications. pool slots stored in array, set of free slots is managed by a linear list More...
|
Detailed Description
standard pool.
- Author:
- Matthias Elf
This class is derived from the class ABA_POOL and provides a very simple implementation of a pool which is sufficient for a large class of applications. The pool slots are stored in an array and the set of free slots is managed by a linear list.
- A standard pool can be static or dynamic. A static standard pool has a fixed size, whereas a dynamic standard pool is automatically enlarged by ten percent if it is full and an item is inserted.
- License:
- This file is part of ABACUS - A Branch And CUt System Copyright (C) 1995 - 2003 University of Cologne, Germany
- This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
- This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
- You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- See also:
- http://www.gnu.org/copyleft/gpl.html
Definition in file standardpool.h.
Generated on Tue Aug 14 18:09:55 2007 for ABACUS by
1.5.1