|
||||
File indexing completed on 2025-01-18 09:11:46
0001 // This file is part of the ACTS project. 0002 // 0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project 0004 // 0005 // This Source Code Form is subject to the terms of the Mozilla Public 0006 // License, v. 2.0. If a copy of the MPL was not distributed with this 0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/. 0008 0009 #pragma once 0010 0011 #include <cstdint> 0012 #include <vector> 0013 0014 namespace ActsExamples { 0015 0016 /// Lightweight graph representation for GNN debugging 0017 /// 0018 struct Graph { 0019 /// The edges-vector contains flattened edge-pairs. Usually, the indices 0020 /// refer to a spacepoint collection. 0021 /// 0022 /// Structure: [ source0, dest0, source1, dest1, ..., sourceN, destN ] 0023 std::vector<std::int64_t> edges; 0024 0025 /// The weight-vector should have half the size of the edges-vector (or 0026 /// be empty if missing). 0027 /// 0028 /// Structure: [ weight0, weight1, ..., weightN ] 0029 std::vector<float> weights; 0030 }; 0031 0032 } // namespace ActsExamples
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |