Carefree (For Windows) 0.7
CareFree Library - A Light Data Generator for OI & ACM
|
#include <carefree.hpp>
类 | |
struct | edge |
struct | unweighted_output |
struct | weighted_output |
Public 成员函数 | |
graph (int N, bool directed=false, bool enable_edge_map=true) | |
void | add (edge edg, bool __add_vector=true) |
void | add (int from, int to, _Weight weight=0) |
bool | has_edge (edge edg) |
bool | has_edge (int from, int to) |
std::vector< edge > | get_edges () |
std::vector< edge > | get_edges (int from) |
template<class T = weighted_output> | |
string | to_string (bool shuffle=false) |
Public 属性 | |
int | N |
bool | directed |
bool | enable_edge_map |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
bool carefree_internal::graph::directed |
bool carefree_internal::graph::enable_edge_map |
int carefree_internal::graph::N |