Interface IProxGraph

All Known Implementing Classes:
CompleteGraph, NaiveDelaunay, RdiskGraph, RlimitedDelaunay

public interface IProxGraph

Interface for proximity graph functions.

Since:
1.0

Method Summary
 CommGraph getGraph(int nDimension, double[] arrPoints, IProxGraphOptWrapper optHelper, CommGraph prevGraph, IEnvironment env)
          Proximity graph function: maps finite collects of points in R^d onto graphs.
 

Method Detail

getGraph

CommGraph getGraph(int nDimension,
                   double[] arrPoints,
                   IProxGraphOptWrapper optHelper,
                   CommGraph prevGraph,
                   IEnvironment env)
Proximity graph function: maps finite collects of points in R^d onto graphs. Copies communication channels from previous graph, if available. Does not know about agent discrete state or other internal state vars. Does know about environment (of particular importance to "line of sight" type algorithms) Assumes that the first d entries in the dimension array correspond to point 0, the next d to point 1, the next d to point 2 etc. Must be able to work without an optimization helper passed in.

Parameters:
nDimension - the dimensionality the points live in, is this a graph in r^2, r^3, etc?
arrPoints - position vector
optHelper - optimization helper, assumed to be modified (be sure to duplicate before passing in) modification of this parameter is a way of returning a helper value.
prevGraph - copy message queues (including unread messages) from prevGraph if possible.
env - current environment.
Returns:
new graph corresponding to this set of points in space.