LinkScheduleEstimator.h File Reference

#include <vector>
#include <oasys/util/IntUtils.h>
#include <oasys/debug/Log.h>

Go to the source code of this file.

Namespaces

namespace  dtn

Classes

class  dtn::LinkScheduleEstimator
 Given a log on the form (start1, duration1), . More...
struct  dtn::LinkScheduleEstimator::LogEntry

Defines

#define CONTACT(s, d)   { s, d }
#define absdiff(x, y)   ((x<y)?((y)-(x)):((x)-(y)))
#define WARPING_WINDOW   .02
#define PERIOD_TOLERANCE   .02
#define MAX_DIST   1<<30


Define Documentation

#define absdiff ( x,
 )     ((x<y)?((y)-(x)):((x)-(y)))

Definition at line 22 of file LinkScheduleEstimator.h.

Referenced by dtn::LinkScheduleEstimator::closest_entry_to_date(), dtn::LinkScheduleEstimator::entry_dist(), and dtn::LinkScheduleEstimator::estimate_period().

#define CONTACT ( s,
 )     { s, d }

Definition at line 21 of file LinkScheduleEstimator.h.

#define MAX_DIST   1<<30

Definition at line 26 of file LinkScheduleEstimator.h.

Referenced by dtn::LinkScheduleEstimator::log_dist(), and dtn::LinkScheduleEstimator::log_dist_r().

#define PERIOD_TOLERANCE   .02

Definition at line 25 of file LinkScheduleEstimator.h.

Referenced by dtn::LinkScheduleEstimator::estimate_period().

#define WARPING_WINDOW   .02

Definition at line 24 of file LinkScheduleEstimator.h.

Referenced by dtn::LinkScheduleEstimator::autocorrelation(), and dtn::LinkScheduleEstimator::extract_schedule().


Generated on Thu Jun 7 12:54:30 2007 for DTN Reference Implementation by  doxygen 1.5.1