org.scubatoolkit
Class NAUITable

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

public class NAUITable
extends java.lang.Object
implements IDiveTable

Author:
Javier Vilalta *

Field Summary
private  DecompressionStop[][] decoStops
           
private  double[] depths
           
private  double[] depthsMetric
           
private  int[][] dopplerLimits
           
static NAUITable 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 NAUITable()
           
 
Method Summary
 DecompressionSchedule getDecoSchedule(PressureGroup startGroup, int bottomTime, double depth, UnitsSystem units)
          Gets the pressureGroup attribute of the NAUITable object * * @param depth Description of the Parameter * @param time Description of the Parameter * @return The pressureGroup value
private  double[] getDepthList(UnitsSystem units)
           
 double getMaxDepth(UnitsSystem units)
           
 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.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

surfaceInterval

private TimeInterval[][] surfaceInterval

pressureGroups

private java.util.Vector pressureGroups

decoStops

private final DecompressionStop[][] decoStops

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

dopplerLimits

private final int[][] dopplerLimits

repetitiveLimits

private final int[][] repetitiveLimits

residualTimeList

private final int[][] residualTimeList

surfaceTimes

private final int[] surfaceTimes

instance

public static NAUITable instance
Constructor Detail

NAUITable

private NAUITable()
Method Detail

getDecoSchedule

public DecompressionSchedule getDecoSchedule(PressureGroup startGroup,
                                             int bottomTime,
                                             double depth,
                                             UnitsSystem units)
Gets the pressureGroup attribute of the NAUITable 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

getMaxDepth

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

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.