| 
    FLOPC++
    
   | 
 
Range over which some other constuct is defined. Uses subsetting.This is one of the main public interface classes. One uses this in the context of a constraint, objective, variable, or data. This class in the MP_domain family uses an MP_subset and a vector of indexes for defining the Range over which the construct is defined. More...
#include <MP_domain.hpp>


Public Member Functions | |
| MP_domain_subset (MP_subset< nbr > *s, const std::vector< MP_index * > &i) | |
| int | evaluate () const | 
| MP_set_base * | getSet () const | 
| getter for obtaining the set used in construction  More... | |
| MP_index * | getIndex () const | 
| getter for obtaining the index used in construction  More... | |
| MP_domain | getDomain (MP_set *s) const | 
| void | operator() () const | 
| Functor * | makeInsertFunctor () const | 
  Public Member Functions inherited from flopc::MP_domain_base | |
| MP_domain_base () | |
| virtual | ~MP_domain_base () | 
| void | display () const | 
| virtual size_t | size () const | 
Private Attributes | |
| MP_subset< nbr > * | S | 
| std::vector< MP_index * > | I | 
Friends | |
| class | insertFunctor< nbr > | 
Additional Inherited Members | |
  Public Attributes inherited from flopc::MP_domain_base | |
| const Functor * | donext | 
  Protected Member Functions inherited from flopc::Functor | |
| Functor () | |
| virtual | ~Functor () | 
  Protected Member Functions inherited from flopc::MP_index_base | |
| MP_index_base () | |
| virtual | ~MP_index_base () | 
Range over which some other constuct is defined. Uses subsetting.
This is one of the main public interface classes. One uses this in the context of a constraint, objective, variable, or data. This class in the MP_domain family uses an MP_subset and a vector of indexes for defining the Range over which the construct is defined.
Definition at line 134 of file MP_domain.hpp.
      
  | 
  inline | 
Definition at line 169 of file MP_domain.hpp.
      
  | 
  inlinevirtual | 
Evaluates the index within the domain.
Implements flopc::MP_index_base.
Definition at line 175 of file MP_domain.hpp.
References flopc::MP_domain_subset< nbr >::I, and flopc::MP_domain_subset< nbr >::S.
Referenced by flopc::MP_domain_subset< nbr >::operator()().
      
  | 
  inlinevirtual | 
Implements flopc::MP_index_base.
Definition at line 189 of file MP_domain.hpp.
References flopc::MP_domain_base::MP_domain.
      
  | 
  inlinevirtual | 
getter for obtaining the index used in construction
Implements flopc::MP_domain_base.
Definition at line 183 of file MP_domain.hpp.
References flopc::MP_domain_subset< nbr >::S.
      
  | 
  inlinevirtual | 
getter for obtaining the set used in construction
Implements flopc::MP_domain_base.
Definition at line 179 of file MP_domain.hpp.
References flopc::MP_domain_subset< nbr >::S.
      
  | 
  inlinevirtual | 
Reimplemented from flopc::MP_domain_base.
Definition at line 240 of file MP_domain.hpp.
      
  | 
  inlinevirtual | 
Implements flopc::Functor.
Definition at line 193 of file MP_domain.hpp.
References flopc::MP_domain_subset< nbr >::evaluate(), flopc::MP_index::getEmpty(), flopc::MP_domain_subset< nbr >::I, and flopc::MP_domain_subset< nbr >::S.
      
  | 
  friend | 
Definition at line 167 of file MP_domain.hpp.
      
  | 
  private | 
Definition at line 246 of file MP_domain.hpp.
Referenced by flopc::MP_domain_subset< nbr >::evaluate(), and flopc::MP_domain_subset< nbr >::operator()().
      
  | 
  private | 
Definition at line 245 of file MP_domain.hpp.
Referenced by flopc::MP_domain_subset< nbr >::evaluate(), flopc::MP_domain_subset< nbr >::getIndex(), flopc::MP_domain_subset< nbr >::getSet(), and flopc::MP_domain_subset< nbr >::operator()().
 1.8.5