Lattice Land Powerdomains Library
Loading...
Searching...
No Matches
lala::StrategyType< Allocator > Struct Template Reference

#include <split_strategy.hpp>

Public Types

using allocator_type = Allocator
 

Public Member Functions

CUDA StrategyType (const Allocator &alloc=Allocator{})
 
 StrategyType (const StrategyType< Allocator > &)=default
 
 StrategyType (StrategyType< Allocator > &&)=default
 
StrategyTypeoperator= (StrategyType< Allocator > &&)=default
 
StrategyTypeoperator= (const StrategyType< Allocator > &)=default
 
CUDA StrategyType (VariableOrder var_order, ValueOrder val_order, battery::vector< AVar, Allocator > &&vars)
 
CUDA allocator_type get_allocator () const
 
template<class StrategyType2 >
CUDA StrategyType (const StrategyType2 &other, const Allocator &alloc=Allocator{})
 

Public Attributes

VariableOrder var_order
 
ValueOrder val_order
 
battery::vector< AVar, Allocatorvars
 

Friends

template<class Alloc2 >
class StrategyType
 

Detailed Description

template<class Allocator>
struct lala::StrategyType< Allocator >

A split strategy consists of a variable order and value order on a subset of the variables.

Member Typedef Documentation

◆ allocator_type

template<class Allocator >
using lala::StrategyType< Allocator >::allocator_type = Allocator

Constructor & Destructor Documentation

◆ StrategyType() [1/5]

template<class Allocator >
CUDA lala::StrategyType< Allocator >::StrategyType ( const Allocator alloc = Allocator{})
inline

◆ StrategyType() [2/5]

template<class Allocator >
lala::StrategyType< Allocator >::StrategyType ( const StrategyType< Allocator > &  )
default

◆ StrategyType() [3/5]

template<class Allocator >
lala::StrategyType< Allocator >::StrategyType ( StrategyType< Allocator > &&  )
default

◆ StrategyType() [4/5]

template<class Allocator >
CUDA lala::StrategyType< Allocator >::StrategyType ( VariableOrder  var_order,
ValueOrder  val_order,
battery::vector< AVar, Allocator > &&  vars 
)
inline

◆ StrategyType() [5/5]

template<class Allocator >
template<class StrategyType2 >
CUDA lala::StrategyType< Allocator >::StrategyType ( const StrategyType2 other,
const Allocator alloc = Allocator{} 
)
inline

Member Function Documentation

◆ operator=() [1/2]

◆ operator=() [2/2]

◆ get_allocator()

template<class Allocator >
CUDA allocator_type lala::StrategyType< Allocator >::get_allocator ( ) const
inline

Friends And Related Symbol Documentation

◆ StrategyType

template<class Allocator >
template<class Alloc2 >
friend class StrategyType
friend

Member Data Documentation

◆ var_order

◆ val_order

◆ vars

template<class Allocator >
battery::vector<AVar, Allocator> lala::StrategyType< Allocator >::vars

The documentation for this struct was generated from the following file: