TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::gpu::FieldProblem Struct Reference

#include <gpu/field.hpp>

Public Attributes

int w = 0
int h = 0
int layers = 0
std::int32_t step = 0
std::int32_t diag = 0
std::int32_t via = 0
 move costs (nm-equivalent)
const std::uint8_t * pass = nullptr
 [layers][h][w]: 1 = may be entered
const std::uint8_t * via_pass = nullptr
 [h][w]: 1 = a via may be placed (all layers)
const std::uint8_t * target = nullptr
 [layers][h][w]: 1 = distance 0

Detailed Description

Definition at line 19 of file field.hpp.

Member Data Documentation

◆ diag

std::int32_t tmk::gpu::FieldProblem::diag = 0

Definition at line 21 of file field.hpp.

◆ h

int tmk::gpu::FieldProblem::h = 0

Definition at line 20 of file field.hpp.

◆ layers

int tmk::gpu::FieldProblem::layers = 0

Definition at line 20 of file field.hpp.

◆ pass

const std::uint8_t* tmk::gpu::FieldProblem::pass = nullptr

[layers][h][w]: 1 = may be entered

Definition at line 22 of file field.hpp.

◆ step

std::int32_t tmk::gpu::FieldProblem::step = 0

Definition at line 21 of file field.hpp.

◆ target

const std::uint8_t* tmk::gpu::FieldProblem::target = nullptr

[layers][h][w]: 1 = distance 0

Definition at line 24 of file field.hpp.

◆ via

std::int32_t tmk::gpu::FieldProblem::via = 0

move costs (nm-equivalent)

Definition at line 21 of file field.hpp.

◆ via_pass

const std::uint8_t* tmk::gpu::FieldProblem::via_pass = nullptr

[h][w]: 1 = a via may be placed (all layers)

Definition at line 23 of file field.hpp.

◆ w

int tmk::gpu::FieldProblem::w = 0

Definition at line 20 of file field.hpp.


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