// function 1: get any school name that contains the given school name or is contained within the given school name
// ex. ("Laurier" == "wilfrid laurier university")
// assigned to: huix9380@mylaurier.ca
function get_name_substr(school_name)
{
var s = []; // array to hold all the matching school names
return s;
}
// function 2: check if the name is an acronym or can be reduced to an acronym ("wilfrid laurier university" == "wlu")
// needs to check with or without "of" ("University of Waterloo" == "UW") but ("University of Toronto" == "UFT")
// assigned to:daix8340@mylaurier.ca
function get_name_acr(school_name)
{
var s = []; // array to hold all the matching school names
return s;
}
// function 3: names that have a spelling mistake (missing letter or switched order of letters)
// take parameter for acceptable variance, variance=1 -> one missing letter, vaiance=2 -> two missing letters, etc
// ex. ("laurer" == "laurier") and ("luarier" == "laurier")
// assigned to:fanx0690@myalaurier.ca
function get_name_spl(school_name, variance)
{
var s = []; // array to hold all the matching school names
return s;
}
// function 4: get any beacons with the same course code within the given radius
// assigned to: wang4060@mylaurier.ca
function get_nearby_beacons(lat, lng, radius, course)
{
var b = []; // array to hold all the matching beacons
return b;
}
-
Notifications
You must be signed in to change notification settings - Fork 0
cp317/Backend
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published