Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

filterByDate

  • Filters the applications to determine what was in use at a particular point in time.

    remarks

    The filter uses the optional commissioned and decomissioned date of the application use records.

    Parameters

    • applications: Array<IApplication>

      The full set of applications.

    • date: Date

      The date to filter the applications by.

    Returns Array<IApplication>

    Returns the subset of applications that were in use on the specified date.

getHTML

  • getHTML(table: Array<Array<Cell>>): string
  • Renders a table as HTML.

    Parameters

    • table: Array<Array<Cell>>

      The application table, returned by [getTable]

    Returns string

getOptimalAxes

  • getOptimalAxes(applications: Array<IApplication>, x: IAxis, y: IAxis, axesSelector?: function, xF?: function, yF?: function): Axes
  • Determine the optimum order of the axes resulting in a layout with applications grouped together

    Parameters

    • applications: Array<IApplication>

      The raw application data

    • x: IAxis

      The x axis

    • y: IAxis

      The y axis

    • Default value axesSelector: function = scenarios => scenarios[0]

      A function

    • Default value xF: function = flexOrder

      The algorithm to use the generate scenarios to test on the x axis; defaults to all permutations.

        • (axis: IAxis): Array<Array<string>>
        • Parameters

          Returns Array<Array<string>>

    • Default value yF: function = flexOrder

      The algorithm to use the generate scenarios to test on the y axis; defaults to all permutations.

        • (axis: IAxis): Array<Array<string>>
        • Parameters

          Returns Array<Array<string>>

    Returns Axes

    Returns all conbinations of x and y axes with the greatest grouping of applications

getTable

  • Prepares application data for rendering according to a selected set of axes.

    Parameters

    Returns Array<Array<Cell>>

Generated using TypeDoc