Zum Inhalt
HALOWERK

Datenvertragswerk

minimum feedback vertex set family

For one FULLY CAPTURED labelled simple undirected graph n0..5 on0..n-1, reconstruct EVERY MINIMUM-CARDINALITY FEEDBACK VERTEX SET: remove selectedvertices and ALLincidentedges so that the ORIGINAL INDUCED graph onretainedvertices is a FOREST. edge_mask bitk encodes unorderedpair(u,v),u<v,in numeric lexorder. Vertexmask bitv meansoriginallabelv; no relabeling/automorphismquotient. Returnminimum_removed,removed_masks sortedascending, alignedretained_masks=fullvertexmask XORremoved,.

POST https://datenvertrag.halowerk.com/v1/minimum-feedback-vertex-set-family

Eingaben

Felder des veröffentlichten Eingabeschemas
FeldTypPflichtBeschreibung
nSiehe SchemaJa
edge_maskSiehe SchemaJa
claimSiehe SchemaJa
Vollständiges Eingabeschema anzeigen
{
  "type": "object",
  "properties": {
    "n": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 5
        },
        {
          "type": "null"
        }
      ]
    },
    "edge_mask": {
      "anyOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 1023
        },
        {
          "type": "null"
        }
      ]
    },
    "claim": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "minimum_removed": {
              "type": "integer",
              "minimum": 0,
              "maximum": 5
            },
            "removed_masks": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "minItems": 0,
              "maxItems": 32
            },
            "retained_masks": {
              "type": "array",
              "items": {
                "type": "integer",
                "minimum": 0,
                "maximum": 31
              },
              "minItems": 0,
              "maxItems": 32
            },
            "component_masks": {
              "type": "array",
              "items": {
                "type": "array",
                "items": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 31
                },
                "minItems": 0,
                "maxItems": 5
              },
              "minItems": 0,
              "maxItems": 32
            },
            "count": {
              "type": "integer",
              "minimum": 0,
              "maximum": 32
            }
          },
          "required": [
            "minimum_removed",
            "removed_masks",
            "retained_masks",
            "component_masks",
            "count"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "required": [
    "n",
    "edge_mask",
    "claim"
  ],
  "additionalProperties": false
}

Originalschema öffnen

Veröffentlichtes Eingabebeispiel

{
  "n": 0,
  "edge_mask": 0,
  "claim": {
    "minimum_removed": 0,
    "removed_masks": [
      0
    ],
    "retained_masks": [
      0
    ],
    "component_masks": [
      []
    ],
    "count": 1
  }
}

Ergebnis & Dokumentation

Maschinenlesbare Dokumentation dieses Hubs

Quelle dieser Seite: der veröffentlichte HALOWERK-Katalog. Stand: 2026-11-07, 02:42 UTC.

Weitere Endpunkte dieses Hubs

Alle Endpunkte dieses Hubs →