Package org.opencv.cv3d
Class MSTEdge
- java.lang.Object
-
- org.opencv.cv3d.MSTEdge
-
public class MSTEdge extends java.lang.Object
Represents an edge in a graph for Minimum Spanning Tree (MST) computation. Each edge connects two nodes (source and target) and has an associated weight.
-
-
Field Summary
Fields Modifier and Type Field Description protected long
nativeObj
-
Constructor Summary
Constructors Modifier Constructor Description protected
MSTEdge(long addr)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MSTEdge
__fromPtr__(long addr)
protected void
finalize()
int
get_source()
int
get_target()
double
get_weight()
long
getNativeObjAddr()
void
set_source(int source)
void
set_target(int target)
void
set_weight(double weight)
-
-
-
Method Detail
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static MSTEdge __fromPtr__(long addr)
-
get_source
public int get_source()
-
set_source
public void set_source(int source)
-
get_target
public int get_target()
-
set_target
public void set_target(int target)
-
get_weight
public double get_weight()
-
set_weight
public void set_weight(double weight)
-
finalize
protected void finalize() throws java.lang.Throwable
- Overrides:
finalize
in classjava.lang.Object
- Throws:
java.lang.Throwable
-
-