source: src/Fragmentation/EdgesPerFragment.hpp@ fba720

Candidate_v1.6.1 ChemicalSpaceEvaluator TremoloParser_IncreasedPrecision
Last change on this file since fba720 was 041a79, checked in by Frederik Heber <heber@…>, 8 years ago

Added definition for a set of edges in namespace FragmentEdges.

  • Property mode set to 100644
File size: 700 bytes
Line 
1/*
2 * EdgesPerFragment.hpp
3 *
4 * Created on: Oct 4, 2016
5 * Author: heber
6 */
7
8
9#ifndef FRAGMENTATION_EDGESPERFRAGMENT_HPP_
10#define FRAGMENTATION_EDGESPERFRAGMENT_HPP_
11
12// include config.h
13#ifdef HAVE_CONFIG_H
14#include <config.h>
15#endif
16
17#include <vector>
18
19#include "types.hpp"
20
21namespace FragmentationEdges {
22
23//!> typedef for a single edge in a bond graph
24 typedef std::pair<atomId_t, atomId_t> edge_t;
25 //!> typedef for all edges of a fragment's bond graph
26 typedef std::vector<edge_t> edges_t;
27 //!> typedef for the set of edges over all fragments
28 typedef std::vector<edges_t> edges_per_fragment_t;
29
30} /* namespace Fragmentation */
31
32
33#endif /* FRAGMENTATION_EDGESPERFRAGMENT_HPP_ */
Note: See TracBrowser for help on using the repository browser.