Class Vicinity

java.lang.Object
edu.cmu.tetrad.simulation.Vicinity

public class Vicinity extends Object
This version of Vicinity finds nearby nodes by searching with an expanding cube Prior to Vicinity4, versions of Vicinity looked at the 3 axis independently instead of collectively.

Vicinity5 improves on Vicinity4 by allowing for the nodes to not be distributed evenly throughout the location space. This is needed for fMRI data when the voxels are not perfect cubes.

Version:
$Id: $Id
Author:
josephramsey, Erich Kummerfeld
  • Constructor Details

    • Vicinity

      public Vicinity(List<Edge> edges, DataSet locationMap, int xLow, int xHigh, int yLow, int yHigh, int zLow, int zHigh, double xDist, double yDist, double zDist)

      Constructor for Vicinity.

      Parameters:
      edges - a List object
      locationMap - a DataSet object
      xLow - a int
      xHigh - a int
      yLow - a int
      yHigh - a int
      zLow - a int
      zHigh - a int
      xDist - a double
      yDist - a double
      zDist - a double
  • Method Details

    • getVicinity

      public List<Edge> getVicinity(Edge edge, int chunk)

      getVicinity.

      Parameters:
      edge - a Edge object
      chunk - a int
      Returns:
      a List object