PPL  1.2
Parma_Polyhedra_Library::H79_Certificate::Compare Struct Reference

A total ordering on H79 certificates. More...

#include <H79_Certificate_defs.hh>

Public Member Functions

bool operator() (const H79_Certificate &x, const H79_Certificate &y) const
 Returns true if and only if x comes before y. More...
 

Detailed Description

A total ordering on H79 certificates.

This binary predicate defines a total ordering on H79 certificates which is used when storing information about sets of polyhedra.

Definition at line 82 of file H79_Certificate_defs.hh.

Member Function Documentation

bool Parma_Polyhedra_Library::H79_Certificate::Compare::operator() ( const H79_Certificate x,
const H79_Certificate y 
) const
inline

Returns true if and only if x comes before y.

Definition at line 47 of file H79_Certificate_inlines.hh.

References Parma_Polyhedra_Library::H79_Certificate::compare().

48  {
49  // For an efficient evaluation of the multiset ordering based
50  // on this LGO relation, we want larger elements to come first.
51  return x.compare(y) == 1;
52 }

The documentation for this struct was generated from the following files: