Boost logo

Boost Users :

Subject: Re: [Boost-users] Cycle detection in a directed graph with adjacency_matrix
From: Jeremiah Willcock (jewillco_at_[hidden])
Date: 2011-04-12 23:06:57

On Tue, 12 Apr 2011, albert kao wrote:

> The compile errors are now:
> adjacency_matrix_is_cyclic.cpp:9: error: expected class-name before ‘{’ token
> adjacency_matrix_is_cyclic.cpp: In function ‘bool has_cycle(const Graph&)’:
> adjacency_matrix_is_cyclic.cpp:26: error: no matching function for call to ‘depth_first_search(const boost::adjacency_matrix<boost::directedS, boost::no_property,
> boost::no_property, boost::no_property, std::allocator<bool> >&, cycle_detector&)’

There is no class named "dfs_visitor_default". Could you please check
whether that is spelled correctly?

-- Jeremiah Willcock

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at