Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface DataEnd

Hierarchy

  • DataEnd

Index

Properties

Readonly buildings

buildings: () => Promise<string[]>

an async function that fetches the array of building names

Type declaration

Readonly courses

courses: (semester: SemesterJSON) => Promise<Catalog>

an async function that fetches all courses corresponding to the given semester

returns

a catalog object built from the courses

Type declaration

Readonly distances

distances: () => Promise<Int32Array>

an async function that fetches the distance matrix (equivalently, the walking time) between the buildings. matrix[i * len + j] represents the distance between the ith building and jth building in the array of buildings fetched by dataend.buildings

returns

the distance matrix, in Int32Array

Type declaration

Readonly semesters

semesters: () => Promise<SemesterJSON[]>

an async function that fetches the list of the semesters

Type declaration

Generated using TypeDoc