PBeFS
Parallel Best-First Search
Loading...
Searching...
No Matches
ParallelParams Struct Reference

the parameters shared by the parallel searches More...

#include <PBeFS/core/SearchUtils.h>

Inheritance diagram for ParallelParams:
BasicParallelBBOptions< Value > BasicParallelBBOptions< V > ParallelOptions PASEOptions PBNFOptions

Public Member Functions

void normalize (void) noexcept
 sets to 1 any parameter that is 0

Public Attributes

unsigned threads = 1
 the number of workers
std::size_t batch = 64
 nodes packed in a message
unsigned flush_period = 64
 steps between flushes of outboxes
std::uint64_t seed = 1
 seed of the owners

Detailed Description

the parameters shared by the parallel searches

The number of workers, and, for the searches that send their nodes to their owners, the messages in a batch, the steps (expansions or evaluations) between two flushes of the outboxes and the seed of the owners; each search sets its own defaults of batch and flush_period.

Member Function Documentation

◆ normalize()

void normalize ( void )
inlinenoexcept

sets to 1 any parameter that is 0

Member Data Documentation

◆ batch

std::size_t batch = 64

nodes packed in a message

◆ flush_period

unsigned flush_period = 64

steps between flushes of outboxes

◆ seed

std::uint64_t seed = 1

seed of the owners

◆ threads

unsigned threads = 1

the number of workers


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