Navigation: Up, Table of Contents, Bibliography, Index, Title Page

A Traits Class Adaptor for Sorted Matrix Search

#include <CGAL/Sorted_matrix_search_traits_adaptor.h>

Definition

The class Sorted_matrix_search_traits_adaptor<F,M> can be used as an adaptor to create sorted matrix search traits classes for arbitrary feasibility test and matrix classes F resp. M. Any proper instantiation fulfills the requirements stated in section reference.

The compare operation Compare_strictly is set to less<M::Value> and Compare_non_strictly accordingly to less_equal<M::Value>.

Requirements

  1. M has to fulfill the requirements listed in section reference and
  2. F has to define a copy constructor and a monotone bool operator()( const Value&).

Creation

Sorted_matrix_search_traits_adaptor<F,M> t ( const F& m);
initializes t to use m for feasibility testing.


Navigation: Up, Table of Contents, Bibliography, Index, Title Page
The GALIA project. Jan 18, 2000.