graph_generator.cpp File Reference

#include "angel/include/graph_generator.hpp"
#include <vector>
#include <cstdlib>
#include <numeric>
#include "angel/include/angel_exceptions.hpp"
#include "angel/include/angel_types.hpp"
#include "angel/include/angel_tools.hpp"
#include "angel/include/angel_io.hpp"

Include dependency graph for graph_generator.cpp:

Go to the source code of this file.

Namespaces

namespace  angel

Functions

void angel::random_statement (int inputs, int expr, const vector< double > &p, c_graph_t &statement)
void angel::random_statement_vector (int max_expr, double unary, std::vector< c_graph_t > &statement_vector)
 Generates a vector of random statements.
void angel::stats2block (int inputs, int outputs, const std::vector< c_graph_t > &stats, c_graph_t &block)
 Build a block from a list of statements.
void angel::random_block (int inputs, int outputs, int stats, int max_exp, double unary, c_graph_t &block)
 Generates a random basic block.
void angel::block2loop (const c_graph_t &block, int loops, c_graph_t &loop)
 Generates a DAG that represents a loop over the block.

Variables

random_init_t angel::random_init_object


Generated on Wed Mar 11 10:33:22 2009 for angel by  doxygen 1.5.3