Disaggregate
Disaggregate Smart Meter data

PowerStateGraph::DisagVertex Struct Reference

A vertex for the directed acylic graphs used by getStartTimes() More...

Collaboration diagram for PowerStateGraph::DisagVertex:

List of all members.

Public Member Functions

 DisagVertex ()
 DisagVertex (const size_t _timestamp, const double _meanPower, const PSGraph::vertex_descriptor _psgVertex, const PSGraph::edge_descriptor _psgEdge)

Public Attributes

size_t timestamp
 UNIX timestamp taken from AggregateData.
double meanPower
 Mean power used between this and the previous vertex.
PSGraph::vertex_descriptor psgVertex
 link to vertex in Power State Graph.
PSGraph::edge_descriptor psgEdge
 the PSG edge which got us to where we are.
std::list
< PSGraph::edge_descriptor > 
edgeHistory
 a "rolling" list storing the previous few edges we've seen.

Detailed Description

A vertex for the directed acylic graphs used by getStartTimes()

Definition at line 194 of file PowerStateGraph.h.


Constructor & Destructor Documentation

PowerStateGraph::DisagVertex::DisagVertex ( ) [inline]

Definition at line 203 of file PowerStateGraph.h.

PowerStateGraph::DisagVertex::DisagVertex ( const size_t  _timestamp,
const double  _meanPower,
const PSGraph::vertex_descriptor  _psgVertex,
const PSGraph::edge_descriptor  _psgEdge 
) [inline]

Definition at line 207 of file PowerStateGraph.h.


Member Data Documentation

std::list< PSGraph::edge_descriptor > PowerStateGraph::DisagVertex::edgeHistory

a "rolling" list storing the previous few edges we've seen.

Definition at line 199 of file PowerStateGraph.h.

Mean power used between this and the previous vertex.

Definition at line 196 of file PowerStateGraph.h.

PSGraph::edge_descriptor PowerStateGraph::DisagVertex::psgEdge

the PSG edge which got us to where we are.

Definition at line 198 of file PowerStateGraph.h.

PSGraph::vertex_descriptor PowerStateGraph::DisagVertex::psgVertex

link to vertex in Power State Graph.

Definition at line 197 of file PowerStateGraph.h.

UNIX timestamp taken from AggregateData.

Definition at line 195 of file PowerStateGraph.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends