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>
* Vincent Barichard <Vincent.Barichard@univ-angers.fr>
*
* Copyright:
* Christian Schulte, 2005
* Vincent Barichard, 2012
*
* 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 FloatVarArgs;
class FloatVarArray;
class FloatValArgs;
template<>
class ArrayTraits<VarArgArray<FloatVar> > {
public:
typedef FloatVarArgs StorageType;
typedef FloatVar ValueType;
typedef FloatVarArgs ArgsType;
};
template<>
class ArrayTraits<VarArray<FloatVar> > {
public:
typedef FloatVarArray StorageType;
typedef FloatVar ValueType;
typedef FloatVarArgs ArgsType;
};
template<>
class ArrayTraits<ArgArray<FloatVal> > {
public:
typedef FloatValArgs StorageType;
typedef FloatVal ValueType;
typedef FloatValArgs ArgsType;
};
template<>
class ArrayTraits<FloatVarArray> {
public:
typedef FloatVarArray StorageType;
typedef FloatVar ValueType;
typedef FloatVarArgs ArgsType;
};
template<>
class ArrayTraits<FloatVarArgs> {
public:
typedef FloatVarArgs StorageType;
typedef FloatVar ValueType;
typedef FloatVarArgs ArgsType;
};
template<>
class ArrayTraits<FloatValArgs> {
public:
typedef FloatValArgs StorageType;
typedef FloatVal ValueType;
typedef FloatValArgs ArgsType;
};
}
// STATISTICS: float-other
Gecode::ArgArray
Argument array for non-primitive types.
Definition array.hpp:691
Gecode::ArrayTraits< ArgArray< FloatVal > >::StorageType
FloatValArgs StorageType
Definition array-traits.hpp:64
Gecode::ArrayTraits< ArgArray< FloatVal > >::ArgsType
FloatValArgs ArgsType
Definition array-traits.hpp:66
Gecode::ArrayTraits< ArgArray< FloatVal > >::ValueType
FloatVal ValueType
Definition array-traits.hpp:65
Gecode::ArrayTraits< FloatValArgs >::StorageType
FloatValArgs StorageType
Definition array-traits.hpp:91
Gecode::ArrayTraits< FloatValArgs >::ArgsType
FloatValArgs ArgsType
Definition array-traits.hpp:93
Gecode::ArrayTraits< FloatValArgs >::ValueType
FloatVal ValueType
Definition array-traits.hpp:92
Gecode::ArrayTraits< FloatVarArgs >::StorageType
FloatVarArgs StorageType
Definition array-traits.hpp:82
Gecode::ArrayTraits< FloatVarArgs >::ValueType
FloatVar ValueType
Definition array-traits.hpp:83
Gecode::ArrayTraits< FloatVarArgs >::ArgsType
FloatVarArgs ArgsType
Definition array-traits.hpp:84
Gecode::ArrayTraits< FloatVarArray >::ArgsType
FloatVarArgs ArgsType
Definition array-traits.hpp:75
Gecode::ArrayTraits< FloatVarArray >::StorageType
FloatVarArray StorageType
Definition array-traits.hpp:73
Gecode::ArrayTraits< FloatVarArray >::ValueType
FloatVar ValueType
Definition array-traits.hpp:74
Gecode::ArrayTraits< VarArgArray< FloatVar > >::ValueType
FloatVar ValueType
Definition array-traits.hpp:47
Gecode::ArrayTraits< VarArgArray< FloatVar > >::ArgsType
FloatVarArgs ArgsType
Definition array-traits.hpp:48
Gecode::ArrayTraits< VarArgArray< FloatVar > >::StorageType
FloatVarArgs StorageType
Definition array-traits.hpp:46
Gecode::ArrayTraits< VarArray< FloatVar > >::ValueType
FloatVar ValueType
Definition array-traits.hpp:56
Gecode::ArrayTraits< VarArray< FloatVar > >::ArgsType
FloatVarArgs ArgsType
Definition array-traits.hpp:57
Gecode::ArrayTraits< VarArray< FloatVar > >::StorageType
FloatVarArray StorageType
Definition array-traits.hpp:55
Gecode::ArrayTraits
Traits of arrays in Gecode.
Definition array.hpp:94
Gecode::FloatValArgs
Passing float arguments.
Definition float.hh:950
Gecode::FloatVal
Float value type.
Definition float.hh:334
Gecode::FloatVarArgs
Passing float variables.
Definition float.hh:979
Gecode::FloatVarArray
Float variable array.
Definition float.hh:1030
Gecode::FloatVar
Float variables.
Definition float.hh:870
Gecode::VarArgArray
Argument array for variables.
Definition array.hpp:774
Gecode::VarArray
Variable arrays
Definition array.hpp:112
Gecode
Gecode toplevel namespace