line between rectangles (from middle to middle)

Inputs

  • Rectangle 1 - X
  • Rectangle 1 - Y
  • Rectangle 1 - width
  • Rectangle 1 - height
  • Rectangle 2 - X
  • Rectangle 2 - Y
  • Rectangle 2 - width
  • Rectangle 2 - height

Outputs

  • Line start - X
  • Line start - Y
  • Line end - X
  • Line end - Y

Neuron type

Checked - ready to generate algorithm

Patterns

Pattern Input Output
1.
Rectangle 1 - X: 0
Rectangle 1 - Y: 0
Rectangle 1 - width: 0
Rectangle 1 - height: 0
Rectangle 2 - X: 1
Rectangle 2 - Y: 1
Rectangle 2 - width: 0
Rectangle 2 - height: 0
Line start - X: 0
Line start - Y: 0
Line end - X: 1
Line end - Y: 1
2.
Rectangle 1 - X: 1
Rectangle 1 - Y: 4
Rectangle 1 - width: 4
Rectangle 1 - height: 2
Rectangle 2 - X: 2
Rectangle 2 - Y: 1
Rectangle 2 - width: 1
Rectangle 2 - height: 2
Line start - X: 3
Line start - Y: 5
Line end - X: 2.5
Line end - Y: 2
3.
Rectangle 1 - X: 0
Rectangle 1 - Y: 0
Rectangle 1 - width: 4
Rectangle 1 - height: 1
Rectangle 2 - X: 5
Rectangle 2 - Y: 1
Rectangle 2 - width: 2
Rectangle 2 - height: 2
Line start - X: 2
Line start - Y: 0.5
Line end - X: 6
Line end - Y: 2
4.
Rectangle 1 - X: 1
Rectangle 1 - Y: 1
Rectangle 1 - width: 2
Rectangle 1 - height: 3
Rectangle 2 - X: 8
Rectangle 2 - Y: 2
Rectangle 2 - width: 2
Rectangle 2 - height: 2
Line start - X: 2
Line start - Y: 2.5
Line end - X: 3
Line end - Y: 9

Applicable neurons

  • middle
  • 180
  • Declarative sentence
  • (a, b]
  • ", "
  • constant x.xxxxx
  • [x]
  • mat 33/1

Algorithm

Algorithm doesn't exists


Rodokmen - poznejte své předky | TOPlist U.I., Umělá inteligence