*
* \author Dekel Tsur
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
-#include "config.h"
+#include <config.h>
+
#include "graph.h"
#include "format.h"
-#include <queue>
-#include <vector>
+#include <algorithm>
-using std::queue;
using std::vector;
-
+using std::reverse;
int Graph::bfs_init(int s, bool clear_visited)
int const i = Q_.front();
Q_.pop();
Format const & format = formats.get(i);
- if (format.name() == "lyx")
- continue;
if (!only_viewable || !format.viewer().empty() ||
format.isChildFormat())
result.push_back(i);
}
vector<Graph::Vertex> Graph::vertices_;
-
-