public class Point extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Double |
energy |
private static long |
serialVersionUID
The unique class ID
|
double |
weight |
Double |
x |
Double |
y |
| Constructor and Description |
|---|
Point(double x,
double y) |
| Modifier and Type | Method and Description |
|---|---|
double |
distance(Point p) |
Point |
shift(double x,
double y) |
String |
toString() |
private static final long serialVersionUID
public final Double x
public final Double y
public Double energy
public double weight
Copyright © 2017. All rights reserved.