LINE Solver (C++)
Templated C++ port of the LINE queueing solver
Loading...
Searching...
No Matches
line::wf::BranchStats< T > Struct Template Reference

Mirrors the Java getBranchStats map. More...

#include <line/api/wf/wf_branch_detector.h>

Collaboration diagram for line::wf::BranchStats< T >:

Public Attributes

std::size_t numPatterns = 0
std::size_t totalBranchNodes = 0
avgBranches = num_traits<T>::from_int(0)
std::size_t maxBranches = 0
std::size_t minBranches = 0
avgEntropy = num_traits<T>::from_int(0)
avgBalance = num_traits<T>::from_int(0)

Detailed Description

template<class T>
struct line::wf::BranchStats< T >

Mirrors the Java getBranchStats map.

Definition at line 76 of file wf_branch_detector.h.

Member Data Documentation

◆ avgBalance

template<class T>
T line::wf::BranchStats< T >::avgBalance = num_traits<T>::from_int(0)

Definition at line 83 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ avgBranches

template<class T>
T line::wf::BranchStats< T >::avgBranches = num_traits<T>::from_int(0)

Definition at line 79 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ avgEntropy

template<class T>
T line::wf::BranchStats< T >::avgEntropy = num_traits<T>::from_int(0)

Definition at line 82 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ maxBranches

template<class T>
std::size_t line::wf::BranchStats< T >::maxBranches = 0

Definition at line 80 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ minBranches

template<class T>
std::size_t line::wf::BranchStats< T >::minBranches = 0

Definition at line 81 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ numPatterns

template<class T>
std::size_t line::wf::BranchStats< T >::numPatterns = 0

Definition at line 77 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().

◆ totalBranchNodes

template<class T>
std::size_t line::wf::BranchStats< T >::totalBranchNodes = 0

Definition at line 78 of file wf_branch_detector.h.

Referenced by line::wf::get_branch_stats().


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