CkPttn 1.2.4
Loading...
Searching...
No Matches
moveinfo.hpp
Go to the documentation of this file.
1
6#pragma once
7
8#include <cstdint> // for uint32_t, uint8_t
9
18template <typename Node> struct MoveInfo {
20 Node net;
22 Node v;
24 std::uint8_t from_part;
26 std::uint8_t to_part;
27};
28
37template <typename Node> struct MoveInfoV {
39 Node v;
41 std::uint8_t from_part;
43 std::uint8_t to_part;
44 // node_t v;
45};
Move information for a single vertex (without net reference)
Definition moveinfo.hpp:37
std::uint8_t to_part
The partition the vertex is moving to.
Definition moveinfo.hpp:43
std::uint8_t from_part
The partition the vertex is moving from.
Definition moveinfo.hpp:41
Node v
The vertex being moved.
Definition moveinfo.hpp:39
Move information for a single vertex in a net.
Definition moveinfo.hpp:18
std::uint8_t to_part
The partition the vertex is moving to.
Definition moveinfo.hpp:26
Node net
The net being processed.
Definition moveinfo.hpp:20
Node v
The vertex being moved.
Definition moveinfo.hpp:22
std::uint8_t from_part
The partition the vertex is moving from.
Definition moveinfo.hpp:24