adjustParameters method

  1. @override
void adjustParameters(
  1. List<Beacon> beacons
)
override

Implementation

@override
void adjustParameters(List<Beacon> beacons) {
  parameters =
      Matrix.fromRows(beacons.map((e) => e.position.toVector()).toList());
  distances = Vector.fromList(beacons.map((e) => e.distanceToUser).toList());
}