org.scubatoolkit
Class SSITable

java.lang.Object
  |
  +--org.scubatoolkit.SSITable
All Implemented Interfaces:
IDiveTable

public class SSITable
extends java.lang.Object
implements IDiveTable

Description of the Class * * @author * @version


Field Summary
private  double[] depths
           
private  double[] depthsMetric
           
private  int[][] dopplerLimits
           
static SSITable instance
           
private  int[] NDL
           
private  java.util.Vector pressureGroups
           
private  double[] repetitiveDepths
           
private  double[] repetitiveDepthsMetric
           
private  int[][] repetitiveLimits
           
private  int[][] residualTimeList
           
private  TimeInterval[][] surfaceInterval
           
private  int[] surfaceTimes
           
 
Constructor Summary
private SSITable()
          Constructor for the SSITable object
 
Method Summary
 int getAdjustedLimit(int depth, char pg)
           
 DecompressionSchedule getDecoSchedule(PressureGroup startGroup, int bottomTime, double depth, UnitsSystem units)
          Gets the pressureGroup attribute of the SSITable object * * @param depth Description of the Parameter * @param time Description of the Parameter * @return The pressureGroup value
(package private)  int getDepthCount()
           
private  double[] getDepthList(UnitsSystem units)
           
 double getMaxDepth(UnitsSystem units)
           
(package private)  int getMaxTime(float depth)
           
(package private)  int getMaxTime(float depth, char pg)
           
 PressureGroup getPressureGroup(PressureGroup pressureGroup, int surfaceTime)
          Gets the pressure group after a surface interval, given a starting pressure group * * @param pg Pressure group before the surface interval * @param time Time spent on the surface * @return The new pressure group after the surface interval
private  double[] getRepetitiveDepthList(UnitsSystem units)
           
 int getResidualTime(PressureGroup pressureGroup, double depth, UnitsSystem units)
           
 java.util.Vector getSupportedPressureGroups()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

depths

private final double[] depths

depthsMetric

private final double[] depthsMetric

repetitiveDepths

private final double[] repetitiveDepths

repetitiveDepthsMetric

private final double[] repetitiveDepthsMetric

NDL

private final int[] NDL

pressureGroups

private java.util.Vector pressureGroups

dopplerLimits

private final int[][] dopplerLimits

repetitiveLimits

private final int[][] repetitiveLimits

residualTimeList

private final int[][] residualTimeList

surfaceTimes

private final int[] surfaceTimes

surfaceInterval

private TimeInterval[][] surfaceInterval

instance

public static SSITable instance
Constructor Detail

SSITable

private SSITable()
Constructor for the SSITable object

Method Detail

getSupportedPressureGroups

public java.util.Vector getSupportedPressureGroups()

getDecoSchedule

public DecompressionSchedule getDecoSchedule(PressureGroup startGroup,
                                             int bottomTime,
                                             double depth,
                                             UnitsSystem units)
Gets the pressureGroup attribute of the SSITable object * * @param depth Description of the Parameter * @param time Description of the Parameter * @return The pressureGroup value

Specified by:
getDecoSchedule in interface IDiveTable

getPressureGroup

public PressureGroup getPressureGroup(PressureGroup pressureGroup,
                                      int surfaceTime)
Gets the pressure group after a surface interval, given a starting pressure group * * @param pg Pressure group before the surface interval * @param time Time spent on the surface * @return The new pressure group after the surface interval

Specified by:
getPressureGroup in interface IDiveTable

getMaxTime

int getMaxTime(float depth)

getMaxTime

int getMaxTime(float depth,
               char pg)

getMaxDepth

public double getMaxDepth(UnitsSystem units)
Specified by:
getMaxDepth in interface IDiveTable

getDepthCount

int getDepthCount()

getAdjustedLimit

public int getAdjustedLimit(int depth,
                            char pg)

getResidualTime

public int getResidualTime(PressureGroup pressureGroup,
                           double depth,
                           UnitsSystem units)
                    throws TableLimitsExceededException
Specified by:
getResidualTime in interface IDiveTable
TableLimitsExceededException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getDepthList

private double[] getDepthList(UnitsSystem units)

getRepetitiveDepthList

private double[] getRepetitiveDepthList(UnitsSystem units)


Copyright © 2002 The Scuba Toolkit Team. All Rights Reserved.