tetengo 1.8.1
A multipurpose library set
Loading...
Searching...
No Matches
tetengo::lattice::connection Class Reference

A connection. More...

#include <connection.hpp>

Public Member Functions

constexpr connection (int cost)
 Creates a connection.
 
constexpr int cost () const
 Returns the cost.
 

Detailed Description

A connection.

Constructor & Destructor Documentation

◆ connection()

constexpr tetengo::lattice::connection::connection ( int  cost)
inlineexplicitconstexpr

Creates a connection.

Parameters
costA cost.

Member Function Documentation

◆ cost()

constexpr int tetengo::lattice::connection::cost ( ) const
inlineconstexpr

Returns the cost.

Returns
The cost.

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