BELFEM 0.9.0
Berkeley Lab Finite Element Framework
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
20namespace belfem
21{
22 namespace graph
23 {
24//------------------------------------------------------------------------------
25
55 bool
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
Definition cl_Graph_Vertex.cpp:21
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
USER GUIDES:
Definition cl_Capacitor.cpp:16
uint32_t index_t
Definition typedefs.hpp:52