Ignore:
Timestamp:
Jul 12, 2017, 7:10:32 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Action_Thermostats, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, Candidate_v1.7.0, Candidate_v1.7.1, ChemicalSpaceEvaluator, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Exclude_Hydrogens_annealWithBondGraph, Fix_Verbose_Codepatterns, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, stable
Children:
966ce7
Parents:
0dc8bf2
git-author:
Frederik Heber <frederik.heber@…> (05/19/17 09:27:11)
git-committer:
Frederik Heber <frederik.heber@…> (07/12/17 19:10:32)
Message:

Extended BreadthFirstSearchGatherer to allow BFS with limited discovery horizon.

  • TESTS: extended unit test as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Graph/BoostGraphCreator.hpp

    r0dc8bf2 re3ec8a8  
    4141
    4242public:
     43
    4344  //!> typedef for an undirected graph using boost::graph
    4445  typedef boost::adjacency_list < boost::vecS, boost::vecS, boost::undirectedS,
    45       boost::property<boost::vertex_name_t, atomId_t>, boost::no_property > UndirectedGraph;
     46      boost::property<boost::vertex_name_t, atomId_t>,
     47      boost::property<boost::vertex_color_t, boost::default_color_type> /* needed for limited-depth DFS,
     48      otherwise the property_map gets full size of graph */
     49  > UndirectedGraph;
     50
    4651  //!> typedef for a map of graph node indices
    4752  typedef boost::property_map < UndirectedGraph, boost::vertex_index_t >::type index_map_t;
Note: See TracChangeset for help on using the changeset viewer.