## CGAL::Sorted_matrix_search_traits_adaptor<F,M>

| advanced |

#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.

### Is Model for the Concept

SortedMatrixSearchTraits

### Requirements

1. M is a model for BasicMatrix and
2. F defines 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.

### Types

Sorted_matrix_search_traits_adaptor<F,M>::Matrix
| typedef to M.
Sorted_matrix_search_traits_adaptor<F,M>::Value
| typedef to Matrix::Value.
Sorted_matrix_search_traits_adaptor<F,M>::Compare_strictly
| typedef to std::less<Value>.
Sorted_matrix_search_traits_adaptor<F,M>::Compare_non_strictly
| typedef to std::less_equal<Value>.

### Operations

Compare_strictly | t.compare_strictly () const
|  | returns the Compare_strictly object to be used for the search.
Compare_non_strictly
| t.compare_non_strictly () const
|  | returns the Compare_non_strictly object to be used for the search.
bool | t.is_feasible ( const Value& a)
|  | uses the feasibility test given during creation.

| advanced |