Skip to content
HALOWERK

IoT and Devices

linecode viterbi hard decision

Return a minimum-Hamming-distance convolutional trellis path for supplied hard-decision coded bits.

POST https://iot.halowerk.com/v1/linecode-viterbi-hard-decision

Inputs

Fields of the published input schema
FieldTypeRequiredDescription
codedarrayYes
constraintintegerYes
polynomialsarrayYes
initial_stateintegerYes
final_stateintegerYes
Show full input schema
{
  "type": "object",
  "properties": {
    "coded": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 0,
        "maximum": 1
      },
      "maxItems": 768,
      "minItems": 0
    },
    "constraint": {
      "type": "integer",
      "minimum": 2,
      "maximum": 8
    },
    "polynomials": {
      "type": "array",
      "items": {
        "type": "integer",
        "minimum": 1,
        "maximum": 255
      },
      "maxItems": 3,
      "minItems": 1
    },
    "initial_state": {
      "type": "integer",
      "minimum": 0,
      "maximum": 127
    },
    "final_state": {
      "type": "integer",
      "minimum": -1,
      "maximum": 127
    }
  },
  "required": [
    "coded",
    "constraint",
    "polynomials",
    "initial_state",
    "final_state"
  ],
  "additionalProperties": false
}

Open original schema

Published input example

{
  "coded": [
    1,
    1,
    1,
    0,
    0,
    0
  ],
  "constraint": 3,
  "polynomials": [
    7,
    5
  ],
  "initial_state": 0,
  "final_state": -1
}

Result & documentation

Machine-readable documentation of this hub

Source of this page: the published HALOWERK catalog. Updated: 2026-11-19 UTC.

More endpoints in this hub

All endpoints in this hub โ†’