Package org.drip.spaces.big
Class MoviesInFlight
java.lang.Object
org.drip.spaces.big.MoviesInFlight
public class MoviesInFlight
extends java.lang.Object
MoviesInFlight implements a Closest Pair of Movies matching a Flight Duration. It provides the
following Functionality:
- MoviesInFlight Constructor
- Retrieve the Array of Movie Duration
- Retrieve the Travel Time
- Retrieve the Adjustment Time
- Retrieve the Movie Pair Meeting the Closest Lower Time Criterion
| Module | Computational Core Module |
| Library | Statistical Learning Library |
| Project | R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes |
| Package | Big-data In-place Manipulator |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description MoviesInFlight(int[] movieDurationArray, int travelTime, int adjustmentTime)MoviesInFlight Constructor -
Method Summary
Modifier and Type Method Description intadjustmentTime()Retrieve the Adjustment Timeint[]movieDurationArray()Retrieve the Array of Movie Durationint[]moviePair()Retrieve the Movie Pair Meeting the Closest Lower Time CriterioninttravelTime()Retrieve the Travel TimeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MoviesInFlight
public MoviesInFlight(int[] movieDurationArray, int travelTime, int adjustmentTime) throws java.lang.ExceptionMoviesInFlight Constructor- Parameters:
movieDurationArray- Movie Duration ArraytravelTime- Travel TimeadjustmentTime- Adjustment Time- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
movieDurationArray
public int[] movieDurationArray()Retrieve the Array of Movie Duration- Returns:
- Array of Movie Duration
-
travelTime
public int travelTime()Retrieve the Travel Time- Returns:
- The Travel Time
-
adjustmentTime
public int adjustmentTime()Retrieve the Adjustment Time- Returns:
- The Adjustment Time
-
moviePair
public int[] moviePair()Retrieve the Movie Pair Meeting the Closest Lower Time Criterion- Returns:
- The Movie Pair Meeting the Closest Lower Time Criterion
-