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, 2015
*
* 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 {
// Forward declaration
class SEBs;
template<>
class ArrayTraits<ArgArray<SEB> > {
public:
typedef SEBs StorageType;
typedef SEB ValueType;
typedef SEBs ArgsType;
};
template<>
class ArrayTraits<SEBs> {
public:
typedef SEBs StorageType;
typedef SEB ValueType;
typedef SEBs ArgsType;
};
}
// STATISTICS: search-other
Gecode::ArgArray
Argument array for non-primitive types.
Definition array.hpp:691
Gecode::ArrayTraits< ArgArray< SEB > >::ArgsType
SEBs ArgsType
Definition traits.hpp:45
Gecode::ArrayTraits< ArgArray< SEB > >::StorageType
SEBs StorageType
Definition traits.hpp:43
Gecode::ArrayTraits< ArgArray< SEB > >::ValueType
SEB ValueType
Definition traits.hpp:44
Gecode::ArrayTraits< SEBs >::ValueType
SEB ValueType
Definition traits.hpp:53
Gecode::ArrayTraits< SEBs >::ArgsType
SEBs ArgsType
Definition traits.hpp:54
Gecode::ArrayTraits< SEBs >::StorageType
SEBs StorageType
Definition traits.hpp:52
Gecode::ArrayTraits
Traits of arrays in Gecode.
Definition array.hpp:94
Gecode::SEBs
Passing search engine builder arguments.
Definition search.hh:1002
Gecode
Gecode toplevel namespace
Gecode::SEB
Search::Builder * SEB
Type for a search engine builder.
Definition search.hh:993