PlaceableSelectionIndex

AUTO-GENERATED FILE – DO NOT EDIT MANUALLY

This page documents the supported public API surface only. Private, internal, benchmark, test, and implementation-detail types are intentionally omitted.

Declaration

1
public sealed class PlaceableSelectionIndex

Summary

In-memory index that links placeable sequences to categorical tags.

Metadata

Namespace: GridPlacement.Core.Catalog

Source File: cs/Core/Catalog/PlaceableSelectionIndex.cs

Assembly: GridPlacement.Core

Type: class

Properties

TagCount

1
public int TagCount { get; }

SequenceCount

1
public int SequenceCount { get; }

Methods

GetTags

1
public IReadOnlyList<CategoricalTagEntry> GetTags()

GetSequences

1
public IReadOnlyList<PlaceableSequence> GetSequences()

AddTag

1
public void AddTag(CategoricalTagEntry tag)

AddSequence

1
2
3
4
public void AddSequence(
    PlaceableSequence sequence,
    IEnumerable<string>? tagIds = null
)

GetSequencesForTag

1
public IReadOnlyList<PlaceableSequence> GetSequencesForTag(string tagId)

GetTagsForSequence

1
public IReadOnlyList<CategoricalTagEntry> GetTagsForSequence(string sequenceId)