Version: 1.0
Classes | Public Member Functions | Public Attributes | List of all members
hyper::HyperCube Class Reference

#include <hypercube++.h>

Classes

struct  Node
 

Public Member Functions

 HyperCube (const rule_set &rs)
 
std::istream & read (std::istream &is)
 
std::ostream & write (std::ostream &os)
 
Nodeoperator[] (size_t idx)
 
const Nodeoperator[] (size_t idx) const
 
BinaryDrag< conactOptimize ()
 

Public Attributes

size_t nbits_
 
std::vector< Nodedata_
 
const rule_setrs_
 
std::vector< size_t > pow3_
 

Detailed Description

Definition at line 28 of file hypercube++.h.

Constructor & Destructor Documentation

◆ HyperCube()

hyper::HyperCube::HyperCube ( const rule_set rs)
inline

Definition at line 72 of file hypercube++.h.

Member Function Documentation

◆ operator[]() [1/2]

Node& hyper::HyperCube::operator[] ( size_t  idx)
inline

Definition at line 100 of file hypercube++.h.

◆ operator[]() [2/2]

const Node& hyper::HyperCube::operator[] ( size_t  idx) const
inline

Definition at line 101 of file hypercube++.h.

◆ Optimize()

BinaryDrag< conact > hyper::HyperCube::Optimize ( )

Definition at line 58 of file hypercube++.cpp.

◆ read()

std::istream& hyper::HyperCube::read ( std::istream &  is)
inline

Definition at line 93 of file hypercube++.h.

◆ write()

std::ostream& hyper::HyperCube::write ( std::ostream &  os)
inline

Definition at line 96 of file hypercube++.h.

Member Data Documentation

◆ data_

std::vector<Node> hyper::HyperCube::data_

Definition at line 68 of file hypercube++.h.

◆ nbits_

size_t hyper::HyperCube::nbits_

Definition at line 67 of file hypercube++.h.

◆ pow3_

std::vector<size_t> hyper::HyperCube::pow3_

Definition at line 70 of file hypercube++.h.

◆ rs_

const rule_set& hyper::HyperCube::rs_

Definition at line 69 of file hypercube++.h.


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