{
  "definitions": [
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "clustersOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "concernJoinOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 9,
      "name": "allForces",
      "signature": "export const allForces = function allForces(contracts: readonly Contract[]): string[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/converters/identifier.converter.ts",
          "name": "slugify",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-converters-identifier-converter-ts",
            "json": "https://banes-lab.com/json/source/context/core/converters/identifier.converter.ts",
            "label": "core/converters/identifier.converter.ts",
            "markdown": "https://banes-lab.com/source/context/core/converters/identifier.converter.ts.md",
            "ref": "anatomy:file-context-core-converters-identifier-converter-ts"
          }
        }
      ],
      "callers": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "traverseComposes",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "exported": false,
      "flow": "relay",
      "kind": "lexical_declaration",
      "line": 59,
      "name": "neighborsOf",
      "signature": "const neighborsOf = function neighborsOf(byId: ReadonlyMap<string, Contract>, id: string, seen: Set<string>): string[] {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "clustersOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "exported": true,
      "flow": "leaf",
      "kind": "lexical_declaration",
      "line": 29,
      "name": "isCore",
      "signature": "const isCore = (contract: Contract): boolean => (degree.get(contract.id) ?? 0) >= CORE_DEGREE;"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "allForces",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        },
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "isCore",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 25,
      "name": "clustersOf",
      "signature": "export const clustersOf = function clustersOf(contracts: readonly Contract[]): Cluster[] {"
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "allForces",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 44,
      "name": "concernJoinOf",
      "signature": "export const concernJoinOf = function concernJoinOf("
    },
    {
      "callable": true,
      "callees": [
        {
          "file": "core/analyzers/algorithm.analyzer.ts",
          "name": "neighborsOf",
          "source": {
            "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
            "json": "https://banes-lab.com/json/source/context/core/analyzers/algorithm.analyzer.ts",
            "label": "core/analyzers/algorithm.analyzer.ts",
            "markdown": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.md",
            "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts"
          }
        }
      ],
      "callers": [],
      "exported": true,
      "flow": "entry",
      "kind": "lexical_declaration",
      "line": 65,
      "name": "traverseComposes",
      "signature": "export const traverseComposes = function traverseComposes("
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 5,
      "name": "byName",
      "signature": "const byName = function byName(a: string, b: string): number {"
    },
    {
      "callable": true,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 13,
      "name": "degreesOf",
      "signature": "const degreesOf = function degreesOf(members: readonly Contract[]): Map<string, number> {"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": false,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 14,
      "name": "memberIds",
      "signature": "const memberIds = new Set(members.map((contract) => contract.id));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 27,
      "name": "members",
      "signature": "const members = contracts.filter((contract) => contract.force.includes(force));"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 28,
      "name": "degree",
      "signature": "const degree = degreesOf(members);"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 69,
      "name": "seen",
      "signature": "const seen = new Set<string>();"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 70,
      "name": "order",
      "signature": "const order: string[] = [];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 71,
      "name": "queue",
      "signature": "const queue = [...seed];"
    },
    {
      "callable": false,
      "callees": [],
      "callers": [],
      "exported": true,
      "flow": "isolated",
      "kind": "lexical_declaration",
      "line": 73,
      "name": "id",
      "signature": "const id = queue.shift();"
    }
  ],
  "document": null,
  "findings": [],
  "generated": false,
  "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-algorithm-analyzer-ts",
  "language": "typescript",
  "layer": "processing",
  "name": "algorithm.analyzer.ts",
  "path": "core/analyzers/algorithm.analyzer.ts",
  "ref": "anatomy:file-context-core-analyzers-algorithm-analyzer-ts",
  "relations": [
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#folder-context-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/context/folder-context-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/context/folder-context-core-analyzers.md",
          "ref": "chapter:/anatomy/context#folder-context-core-analyzers"
        }
      ],
      "relation": "contained-in"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#file-context-core-converters-identifier-converter-ts",
          "json": "https://banes-lab.com/json/source/context/core/converters/identifier.converter.ts",
          "label": "core/converters/identifier.converter.ts",
          "markdown": "https://banes-lab.com/source/context/core/converters/identifier.converter.ts.md",
          "ref": "anatomy:file-context-core-converters-identifier-converter-ts"
        }
      ],
      "relation": "uses"
    },
    {
      "links": [
        {
          "href": "https://banes-lab.com/anatomy/context#folder-context-core-analyzers",
          "json": "https://banes-lab.com/json/anatomy/context/folder-context-core-analyzers",
          "label": "core/analyzers",
          "markdown": "https://banes-lab.com/anatomy/context/folder-context-core-analyzers.md",
          "ref": "chapter:/anatomy/context#folder-context-core-analyzers"
        },
        {
          "href": "https://banes-lab.com/anatomy/context#folder-context-core-converters",
          "json": "https://banes-lab.com/json/anatomy/context/folder-context-core-converters",
          "label": "core/converters",
          "markdown": "https://banes-lab.com/anatomy/context/folder-context-core-converters.md",
          "ref": "chapter:/anatomy/context#folder-context-core-converters"
        }
      ],
      "relation": "linked-from"
    }
  ],
  "slots": {
    "concern": "analyzer",
    "subject": "algorithm",
    "variant": null
  },
  "stats": {
    "bytes": 3080,
    "callable": 8,
    "definitions": 15,
    "edges": 5,
    "exported": 11,
    "files": 1,
    "findings": {},
    "flows": {
      "leaf": 2,
      "relay": 1,
      "entry": 3,
      "isolated": 9
    },
    "lines": {
      "blank": 7,
      "code": 74,
      "total": 81
    }
  },
  "summary": "74 lines of code and 15 definitions.",
  "text": "https://banes-lab.com/source/context/core/analyzers/algorithm.analyzer.ts.txt",
  "tree": "context",
  "siblings": {
    "next": {
      "href": "https://banes-lab.com/anatomy/context#file-context-core-analyzers-check-analyzer-ts",
      "json": "https://banes-lab.com/json/source/context/core/analyzers/check.analyzer.ts",
      "label": "core/analyzers/check.analyzer.ts",
      "markdown": "https://banes-lab.com/source/context/core/analyzers/check.analyzer.ts.md",
      "ref": "anatomy:file-context-core-analyzers-check-analyzer-ts"
    },
    "previous": null
  },
  "up": {
    "href": null,
    "json": "https://banes-lab.com/json/api/source/context/core/analyzers",
    "label": "core/analyzers",
    "markdown": "https://banes-lab.com/api/source/context/core/analyzers.md",
    "ref": "api:source/context/core/analyzers"
  }
}
