Hidden constructor

Hidden(
  1. Link link
)

Implementation

Hidden(this.link) {
  identifier = "{${link.from.identifier},${link.to.identifier}}";
  depth = link.depth;
  x = (link.from.x + link.to.x) / 2;
  y = (link.from.y + link.to.y) / 2;
  activationFunction = Activation.random();
}