Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members | Related Pages

Sort< C > Class Template Reference

#include <Sort.hpp>

List of all members.

Public Member Functions

 Sort (int length)
 ~Sort ()
int length () const
operator[] (int n) const
void add (C c)
void removeDuplicates ()
void sort ()
void sortF ()
bool member (const C c) const

Protected Member Functions

void sort (int p, int r)
void sortF (int p, int r)
void sortGF (int p, int r)
int partition (int p, int r)
int partitionF (int p, int r)
int partitionGF (int p, int r)
bool member (const C c, int fst, int lst) const

Protected Attributes

C * _elems
int _size
int _length


Detailed Description

template<class C>
class Sort< C >

This software is an adaptation of the theorem prover Vampire for working with large knowledge bases in the KIF format, see http://www.prover.info for publications on Vampire.

Copyright (C) Andrei Voronkov and Alexandre Riazanov

Author:
Alexandre Riazanov <riazanov@cs.man.ac.uk>

Andrei Voronkov <voronkov@cs.man.ac.uk>, <andrei@voronkov.com>

Date:
06/06/2003
This software 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


Constructor & Destructor Documentation

template<class C>
Sort< C >::Sort int  length  )  [inline]
 

template<class C>
Sort< C >::~Sort  )  [inline]
 


Member Function Documentation

template<class C>
void Sort< C >::add c  )  [inline]
 

template<class C>
int Sort< C >::length  )  const [inline]
 

template<class C>
bool Sort< C >::member const C  c,
int  fst,
int  lst
const [inline, protected]
 

template<class C>
bool Sort< C >::member const C  c  )  const [inline]
 

template<class C>
C Sort< C >::operator[] int  n  )  const [inline]
 

template<class C>
int Sort< C >::partition int  p,
int  r
[inline, protected]
 

template<class C>
int Sort< C >::partitionF int  p,
int  r
[inline, protected]
 

template<class C>
int Sort< C >::partitionGF int  p,
int  r
[inline, protected]
 

template<class C>
void Sort< C >::removeDuplicates  )  [inline]
 

template<class C>
void Sort< C >::sort int  p,
int  r
[inline, protected]
 

template<class C>
void Sort< C >::sort  )  [inline]
 

template<class C>
void Sort< C >::sortF int  p,
int  r
[inline, protected]
 

template<class C>
void Sort< C >::sortF  )  [inline]
 

template<class C>
void Sort< C >::sortGF int  p,
int  r
[inline, protected]
 


Member Data Documentation

template<class C>
C* Sort< C >::_elems [protected]
 

template<class C>
int Sort< C >::_length [protected]
 

template<class C>
int Sort< C >::_size [protected]
 


The documentation for this class was generated from the following file:
Generated on Sat Jun 28 15:08:59 2003 for Vampire by doxygen 1.3.2