public final class HyperplaneSubsets extends Object
HyperplaneSubset
implementations.Modifier and Type | Method and Description |
---|---|
static <P extends Point<P>,S extends Point<S>,H extends EmbeddingHyperplane<P,S>,R extends Region<S>> |
classifyAgainstEmbeddedRegion(P pt,
H hyperplane,
R embeddedRegion)
Classify a point against a region embedded in a hyperplane.
|
static <P extends Point<P>,S extends Point<S>,H extends EmbeddingHyperplane<P,S>,R extends Region<S>> |
closestToEmbeddedRegion(P pt,
H hyperplane,
R embeddedRegion)
Return the closest point to a given point in a region embedded in a hyperplane.
|
public static <P extends Point<P>,S extends Point<S>,H extends EmbeddingHyperplane<P,S>,R extends Region<S>> RegionLocation classifyAgainstEmbeddedRegion(P pt, H hyperplane, R embeddedRegion)
P
- Point implementation classS
- Subspace point implementation classH
- Hyperplane implementation classR
- Region implementation classpt
- the point to classifyhyperplane
- hyperplane containing the embedded regionembeddedRegion
- embedded region to classify againstpublic static <P extends Point<P>,S extends Point<S>,H extends EmbeddingHyperplane<P,S>,R extends Region<S>> P closestToEmbeddedRegion(P pt, H hyperplane, R embeddedRegion)
P
- Point implementation classS
- Subspace point implementation classH
- Hyperplane implementation classR
- Region implementation classpt
- point to find the closest point tohyperplane
- hyperplane containing the embedded regionembeddedRegion
- embedded region to find the closest point inpt
in the embedded regionCopyright © 2016–2021 The Apache Software Foundation. All rights reserved.