Siena Fast Forwarding documentation (v. 1.0.0)

Main Page   Class Hierarchy   Compound List   File List   Compound Members   Examples  

constraint_index Class Template Reference

#include <constraint_index.h>

List of all members.

Public Methods

Constraintadd_lt (const T &v, FTAllocator &ftmemory)
Constraintadd_gt (const T &v, FTAllocator &ftmemory)
Constraintadd_eq (const T &v, FTAllocator &ftmemory)
bool match (const T &v, CProcessor &p) const

Private Types

typedef vector< node > v_index
typedef map< T, Constraint * > m_index

Private Attributes

v_index lt_map
v_index gt_map
m_index eq_map


Detailed Description

template<class T>
class constraint_index< T >

generic index of equals, less-than, and greater-than constraints.

This template index works for equals, less-than, and greater-than constraints for all the types that implement operators ==, <, and > operators. In particular, this template is optimal for numbers (integers or floating point).


The documentation for this class was generated from the following file:
Copyright © 2001-2002 University of Colorado.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". This documentation is authored and maintained by Antonio Carzaniga