Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
DirectedGraphT.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* DirectedGraphT.h (C) 2000-2017 */
9/* */
10/* Comment on file content. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_DIRECTEDGRAPHT_H_
13#define ARCANE_DIRECTEDGRAPHT_H_
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
18#include "arcane/utils/GraphBaseT.h"
19#include "arcane/utils/ITraceMng.h"
20
21/*---------------------------------------------------------------------------*/
22/*---------------------------------------------------------------------------*/
23
24namespace Arcane
25{
26
27/*---------------------------------------------------------------------------*/
28/*---------------------------------------------------------------------------*/
29/*! Template class for DirectedGraph.
30 * VertexType must implement a less comparison operator.
31 *
32 */
33template <class VertexType, class EdgeType>
35: public GraphBaseT<VertexType, EdgeType>
36{
37 public:
38
39 /** Constructor of the class */
41 : GraphBaseT<VertexType, EdgeType>(trace_mng)
42 {}
43
44 /** Destructor of the class */
45 virtual ~DirectedGraphT() {}
46};
47
48/*---------------------------------------------------------------------------*/
49/*---------------------------------------------------------------------------*/
50
51} // namespace Arcane
52
53/*---------------------------------------------------------------------------*/
54/*---------------------------------------------------------------------------*/
55
56#endif
Arcane configuration file.
DirectedGraphT(ITraceMng *trace_mng)
GraphBaseT(ITraceMng *trace_mng)
Definition GraphBaseT.h:53
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --