public class Skyline
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Skyline.IdentityMapper
An identity map function that returns values as-is with a null key.
|
static class |
Skyline.SkylineFilter |
static class |
Skyline.SkylineReducer |
| Constructor and Description |
|---|
Skyline() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
static void |
skyline(Path inFile,
Path outFile,
OperationsParams params) |
static Point[] |
skyline(Point[] points,
OperationsParams.Direction dir)
Computes the skyline of a set of points using a divided and conquer
in-memory algorithm.
|
static boolean |
skylineDominate(Rectangle r1,
Rectangle r2,
OperationsParams.Direction dir,
boolean compact)
Returns true if r1 dominates r2 in the given direction.
|
static void |
skylineLocal(Path inFile,
Path outFile,
OperationsParams params)
Computes the skyline of an input file using a single machine algorithm.
|
public static Point[] skyline(Point[] points, OperationsParams.Direction dir)
points - dir - public static boolean skylineDominate(Rectangle r1, Rectangle r2, OperationsParams.Direction dir, boolean compact)
r1 - r2 - dir - compact - - whether the input rectangles are compact or notpublic static void skylineLocal(Path inFile,
Path outFile,
OperationsParams params)
throws java.io.IOException
inFile - outFile - dir - overwrite - java.io.IOExceptionpublic static void skyline(Path inFile,
Path outFile,
OperationsParams params)
throws java.io.IOException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException