array-traits.hpp
Go to the documentation of this file.
/* -*- mode: C++; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
* Main authors:
* Christian Schulte <schulte@gecode.org>
*
* Copyright:
* Christian Schulte, 2005
*
* This file is part of Gecode, the generic constraint
* development environment:
* http://www.gecode.org
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* "Software"), to deal in the Software without restriction, including
* without limitation the rights to use, copy, modify, merge, publish,
* distribute, sublicense, and/or sell copies of the Software, and to
* permit persons to whom the Software is furnished to do so, subject to
* the following conditions:
*
* The above copyright notice and this permission notice shall be
* included in all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
* LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
* OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
* WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*
*/
namespace Gecode {
class IntVarArgs;
class IntVarArray;
class BoolVarArgs;
class BoolVarArray;
class IntArgs;
template<>
class ArrayTraits<VarArgArray<IntVar>> {
public:
typedef IntVarArgs StorageType;
typedef IntVar ValueType;
typedef IntVarArgs ArgsType;
};
template<>
class ArrayTraits<VarArray<IntVar>> {
public:
typedef IntVarArray StorageType;
typedef IntVar ValueType;
typedef IntVarArgs ArgsType;
};
template<>
class ArrayTraits<VarArgArray<BoolVar>> {
public:
typedef BoolVarArgs StorageType;
typedef BoolVar ValueType;
typedef BoolVarArgs ArgsType;
};
template<>
class ArrayTraits<VarArray<BoolVar>> {
public:
typedef BoolVarArray StorageType;
typedef BoolVar ValueType;
typedef BoolVarArgs ArgsType;
};
template<>
class ArrayTraits<ArgArray<int>> {
public:
typedef IntArgs StorageType;
typedef int ValueType;
typedef IntArgs ArgsType;
};
template<>
class ArrayTraits<ArgArray<IntSet>> {
public:
typedef IntSetArgs StorageType;
typedef IntSet ValueType;
typedef IntSetArgs ArgsType;
};
template<>
class ArrayTraits<IntVarArray> {
public:
typedef IntVarArray StorageType;
typedef IntVar ValueType;
typedef IntVarArgs ArgsType;
};
template<>
class ArrayTraits<IntVarArgs> {
public:
typedef IntVarArgs StorageType;
typedef IntVar ValueType;
typedef IntVarArgs ArgsType;
};
template<>
class ArrayTraits<IntArgs> {
public:
typedef IntArgs StorageType;
typedef int ValueType;
typedef IntArgs ArgsType;
};
template<>
class ArrayTraits<BoolVarArray> {
public:
typedef BoolVarArray StorageType;
typedef BoolVar ValueType;
typedef BoolVarArgs ArgsType;
};
template<>
class ArrayTraits<BoolVarArgs> {
public:
typedef BoolVarArgs StorageType;
typedef BoolVar ValueType;
typedef BoolVarArgs ArgsType;
};
}
// STATISTICS: int-other
Gecode::ArgArray
Argument array for non-primitive types.
Definition array.hpp:691
Gecode::ArrayTraits< ArgArray< IntSet > >::StorageType
IntSetArgs StorageType
Definition array-traits.hpp:91
Gecode::ArrayTraits< ArgArray< IntSet > >::ValueType
IntSet ValueType
Definition array-traits.hpp:92
Gecode::ArrayTraits< ArgArray< IntSet > >::ArgsType
IntSetArgs ArgsType
Definition array-traits.hpp:93
Gecode::ArrayTraits< ArgArray< int > >::ValueType
int ValueType
Definition array-traits.hpp:83
Gecode::ArrayTraits< ArgArray< int > >::StorageType
IntArgs StorageType
Definition array-traits.hpp:82
Gecode::ArrayTraits< ArgArray< int > >::ArgsType
IntArgs ArgsType
Definition array-traits.hpp:84
Gecode::ArrayTraits< BoolVarArgs >::StorageType
BoolVarArgs StorageType
Definition array-traits.hpp:136
Gecode::ArrayTraits< BoolVarArgs >::ValueType
BoolVar ValueType
Definition array-traits.hpp:137
Gecode::ArrayTraits< BoolVarArgs >::ArgsType
BoolVarArgs ArgsType
Definition array-traits.hpp:138
Gecode::ArrayTraits< BoolVarArray >::ValueType
BoolVar ValueType
Definition array-traits.hpp:128
Gecode::ArrayTraits< BoolVarArray >::ArgsType
BoolVarArgs ArgsType
Definition array-traits.hpp:129
Gecode::ArrayTraits< BoolVarArray >::StorageType
BoolVarArray StorageType
Definition array-traits.hpp:127
Gecode::ArrayTraits< IntArgs >::StorageType
IntArgs StorageType
Definition array-traits.hpp:118
Gecode::ArrayTraits< IntArgs >::ArgsType
IntArgs ArgsType
Definition array-traits.hpp:120
Gecode::ArrayTraits< IntArgs >::ValueType
int ValueType
Definition array-traits.hpp:119
Gecode::ArrayTraits< IntVarArgs >::ArgsType
IntVarArgs ArgsType
Definition array-traits.hpp:111
Gecode::ArrayTraits< IntVarArgs >::StorageType
IntVarArgs StorageType
Definition array-traits.hpp:109
Gecode::ArrayTraits< IntVarArgs >::ValueType
IntVar ValueType
Definition array-traits.hpp:110
Gecode::ArrayTraits< IntVarArray >::ValueType
IntVar ValueType
Definition array-traits.hpp:101
Gecode::ArrayTraits< IntVarArray >::ArgsType
IntVarArgs ArgsType
Definition array-traits.hpp:102
Gecode::ArrayTraits< IntVarArray >::StorageType
IntVarArray StorageType
Definition array-traits.hpp:100
Gecode::ArrayTraits< VarArgArray< BoolVar > >::StorageType
BoolVarArgs StorageType
Definition array-traits.hpp:64
Gecode::ArrayTraits< VarArgArray< BoolVar > >::ValueType
BoolVar ValueType
Definition array-traits.hpp:65
Gecode::ArrayTraits< VarArgArray< BoolVar > >::ArgsType
BoolVarArgs ArgsType
Definition array-traits.hpp:66
Gecode::ArrayTraits< VarArgArray< IntVar > >::ValueType
IntVar ValueType
Definition array-traits.hpp:47
Gecode::ArrayTraits< VarArgArray< IntVar > >::StorageType
IntVarArgs StorageType
Definition array-traits.hpp:46
Gecode::ArrayTraits< VarArgArray< IntVar > >::ArgsType
IntVarArgs ArgsType
Definition array-traits.hpp:48
Gecode::ArrayTraits< VarArray< BoolVar > >::StorageType
BoolVarArray StorageType
Definition array-traits.hpp:73
Gecode::ArrayTraits< VarArray< BoolVar > >::ValueType
BoolVar ValueType
Definition array-traits.hpp:74
Gecode::ArrayTraits< VarArray< BoolVar > >::ArgsType
BoolVarArgs ArgsType
Definition array-traits.hpp:75
Gecode::ArrayTraits< VarArray< IntVar > >::ValueType
IntVar ValueType
Definition array-traits.hpp:56
Gecode::ArrayTraits< VarArray< IntVar > >::StorageType
IntVarArray StorageType
Definition array-traits.hpp:55
Gecode::ArrayTraits< VarArray< IntVar > >::ArgsType
IntVarArgs ArgsType
Definition array-traits.hpp:57
Gecode::ArrayTraits
Traits of arrays in Gecode.
Definition array.hpp:94
Gecode::BoolVarArgs
Passing Boolean variables.
Definition int.hh:712
Gecode::BoolVarArray
Boolean variable array.
Definition int.hh:808
Gecode::BoolVar
Boolean integer variables.
Definition int.hh:512
Gecode::IntArgs
Passing integer arguments.
Definition int.hh:628
Gecode::IntSet
Integer sets.
Definition int.hh:174
Gecode::IntVarArgs
Passing integer variables.
Definition int.hh:656
Gecode::IntVarArray
Integer variable array.
Definition int.hh:763
Gecode::IntVar
Integer variables.
Definition int.hh:371
Gecode::VarArgArray
Argument array for variables.
Definition array.hpp:774
Gecode::VarArray
Variable arrays
Definition array.hpp:112
Gecode
Gecode toplevel namespace
Gecode::IntSetArgs
ArgArray< IntSet > IntSetArgs
Passing set arguments.
Definition int.hh:619