CS::Utility::GraphEdge Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes
CS::Utility::GraphEdge Struct Reference

Represent an edge in a graph. More...

`#include <csutil/graphalg.h>`

List of all members.

## Public Member Functions
| GraphEdge (size_t from=0, size_t to=0)
| Construct from start and end vertex.
## Public Attributes
size_t | from
| Starting vertex.
size_t | to
| Ending vertex.

## Detailed Description

Represent an edge in a graph.

Definition at line 32 of file graphalg.h.

## Constructor & Destructor Documentation

CS::Utility::GraphEdge::GraphEdge | ( | size_t | from = `0`,
|  | size_t | to = `0`
| ) |  | `[inline]`

Construct from start and end vertex.

Definition at line 35 of file graphalg.h.

## Member Data Documentation

size_t CS::Utility::GraphEdge::from

Starting vertex.

Definition at line 40 of file graphalg.h.

size_t CS::Utility::GraphEdge::to

Ending vertex.

Definition at line 43 of file graphalg.h.

The documentation for this struct was generated from the following file:

- csutil/graphalg.h