BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
fn_Graph_spfa.hpp
Go to the documentation of this file.
1
/*
2
* BELFEM -- The Berkeley Lab Finite Element Framework
3
* Copyright (c) 2026, The Regents of the University of California,
4
* through Lawrence Berkeley National Laboratory (subject to receipt of any required
5
* approvals from the U.S. Dept. of Energy). All rights reserved.
6
*
7
* Developers: Christian Messe, Gregory Giard
8
*
9
* See the top-level LICENSE file for the complete license and disclaimer.
10
*/
11
12
#ifndef BELFEM_FN_GRAPH_SPFA_HPP
13
#define BELFEM_FN_GRAPH_SPFA_HPP
14
15
#include <cstdint>
16
17
#include "
typedefs.hpp
"
18
#include "
cl_Cell.hpp
"
19
20
namespace
belfem
21
{
22
namespace
graph
23
{
24
//------------------------------------------------------------------------------
25
55
bool
56
spfa_difference_constraints
(
57
const
index_t
aNumVertices,
58
const
Cell< index_t > & aArcTails,
59
const
Cell< index_t > & aArcHeads,
60
const
Cell< int64_t > & aArcWeights,
61
Cell< int64_t > & aTheta,
62
Cell< index_t > & aNegativeCycle );
63
64
//------------------------------------------------------------------------------
65
}
66
}
67
#endif
//BELFEM_FN_GRAPH_SPFA_HPP
cl_Cell.hpp
belfem::graph
Definition
cl_Graph_Vertex.cpp:21
belfem::graph::spfa_difference_constraints
bool spfa_difference_constraints(const index_t aNumVertices, const Cell< index_t > &aArcTails, const Cell< index_t > &aArcHeads, const Cell< int64_t > &aArcWeights, Cell< int64_t > &aTheta, Cell< index_t > &aNegativeCycle)
Feasibility solver for a system of difference constraints.
Definition
fn_Graph_spfa.cpp:123
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::index_t
uint32_t index_t
Definition
typedefs.hpp:52
typedefs.hpp
src
math
graph
fn_Graph_spfa.hpp
Generated by
1.18.0