>, < opposite

Inputs

  • Symbol

Outputs

  • Opposite symbol

Neuron type

Best algorithm has been found - locked

Patterns

Pattern Input Output
1.
Symbol: >
Opposite symbol: <
2.
Symbol: <
Opposite symbol: >
3.
Symbol: =
Opposite symbol: =

Applicable neurons

  • character <
  • character >
  • IF a=b THEN c ELSE d
  • x to the 2 (x²)
  • fileName from path
  • [a, +∞)
  • IF a=b THEN c ELSE d
  • after decimal point
  • empty string
  • word city
  • Capital and largest city
  • 24

Algorithm

Test

Code made by AI:
/**
 * 0: 
 *
 * @return {Array}
 */
function neuron500()
{
return [0];
}

/**
 * 6: 
 *
 * @return {Array}
 */
function neuron506()
{
return [6];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * character <: 
 * 
 * @return {Array}
 */
function neuron606()
{
  var outputs = [];

  arr = neuron500();
  outputs[0] = arr[0];

  arr = neuron506();
  outputs[1] = arr[0];

  arr = neuron520(outputs[1], outputs[0]);
  outputs[2] = arr[0];

  arr = neuron585(outputs[2]);
  outputs[3] = arr[0];

  return[outputs[3]];
}


/**
 * 2: 
 *
 * @return {Array}
 */
function neuron502()
{
return [2];
}

/**
 * 6: 
 *
 * @return {Array}
 */
function neuron506()
{
return [6];
}

/**
 * Connect - two inputs: 
 *
 * @param x1 Variable A
 * @param x2 Variable B
 * @return {Array}
 */
function neuron520(x1, x2)
{
return [x1.toString()+x2.toString()];
}

/**
 * Ascii code into character: 
 *
 * @param x1 ascii code
 * @return {Array}
 */
function neuron585(x1)
{
return [String.fromCharCode(x1)];
}

/**
 * character >: 
 * 
 * @return {Array}
 */
function neuron607()
{
  var outputs = [];

  arr = neuron502();
  outputs[0] = arr[0];

  arr = neuron506();
  outputs[1] = arr[0];

  arr = neuron520(outputs[1], outputs[0]);
  outputs[2] = arr[0];

  arr = neuron585(outputs[2]);
  outputs[3] = arr[0];

  return[outputs[3]];
}


/**
 * a = b: IF a=b THEN 1 ELSE 0;
 *
 * @param x1 a
 * @param x2 b
 * @return {Array}
 */
function neuron591(x1, x2)
{
return [(x1 == x2) ? 1 : 0];
}

/**
 * IF: IF a THEN b ELSE c;
 *
 * @param x1 condition (1/0)
 * @param x2 variable for 1
 * @param x3 variable for 0
 * @return {Array}
 */
function neuron579(x1, x2, x3)
{
return [(x1) ? x2 : x3];
}

/**
 * IF a=b THEN c ELSE d: 
 * 
 * @param x1 a
 * @param x2 b
 * @param x3 c
 * @param x4 d
 * @return {Array}
 */
function neuron724(x1, x2, x3, x4)
{
  var outputs = [];
  outputs[0] = x1;
  outputs[1] = x2;
  outputs[2] = x3;
  outputs[3] = x4;

  arr = neuron591(outputs[1], outputs[0]);
  outputs[4] = arr[0];

  arr = neuron579(outputs[4], outputs[2], outputs[3]);
  outputs[5] = arr[0];

  return[outputs[5]];
}


/**
 * >, < opposite: 
 * 
 * @param x1 Symbol
 * @return {Array}
 */
function neuron725(x1)
{
  var outputs = [];
  outputs[0] = x1;

  arr = neuron606();
  outputs[1] = arr[0];

  arr = neuron607();
  outputs[2] = arr[0];

  arr = neuron724(outputs[0], outputs[2], outputs[1], outputs[0]);
  outputs[3] = arr[0];

  arr = neuron724(outputs[1], outputs[0], outputs[2], outputs[3]);
  outputs[4] = arr[0];

  return[outputs[4]];
}


Code made by AI:

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