Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IAggregatedGroupSetComposite<T>

Type parameters

  • T

Hierarchy

  • ISetComposite<T>
    • IAggregatedGroupSetComposite

Index

Properties

Readonly attr

attr: string

Readonly cardinality

cardinality: number

number of elements in the set

Optional Readonly color

color?: string

optional set color

Readonly degree

degree: number

number of set in this set intersection

Readonly elems

elems: readonly T[]

elements in this set

Readonly groups

groups: readonly (string | number)[]

Readonly name

name: string

name of the set

Readonly sets

sets: ReadonlySet<ISet<T>>

sets this set intersection is composed of

Readonly subType

subType: "aggregate"

Readonly type

type: "composite"

whether it is a set or an intersection

Methods

Optional overlap

  • overlap(o: readonly T[] | ISetLike<T>): number
  • custom overlap computation function

    Parameters

    • o: readonly T[] | ISetLike<T>

      to compare with

    Returns number