LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatBuilder::Traversal::Forward Class Reference

Range-based forward traversal type. More...

#include <Traversal.h>

Inherited by LatBuilder::Traversal::Policy< SEQ, Forward >.

Public Types

typedef size_t size_type
 Size type.
 

Public Member Functions

 Forward (size_type offset=0, size_type size=std::numeric_limits< size_type >::max())
 Constructor. More...
 
size_t size () const
 Returns the traversal size.
 
void resize (size_type size)
 Changes the traversal size to size.
 

Static Public Member Functions

static std::string name ()
 

Protected Attributes

size_type m_first
 
size_type m_last
 

Detailed Description

Range-based forward traversal type.

Constructor & Destructor Documentation

◆ Forward()

LatBuilder::Traversal::Forward::Forward ( size_type  offset = 0,
size_type  size = std::numeric_limits<size_type>::max() 
)
inline

Constructor.

Parameters
offsetIndex of the first element in the range.
sizeNumber of elements in the range.

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