-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e1aba8e
commit e566f89
Showing
16 changed files
with
162 additions
and
59 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
#[allow(non_snake_case)] | ||
mod components; | ||
mod db; | ||
|
||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,38 @@ | ||
// stage 1 | ||
pub mod airport; | ||
pub mod utils; | ||
|
||
// stage 2 | ||
pub mod campaign; | ||
pub mod ticket; | ||
pub mod user; | ||
|
||
// stage 3 | ||
pub mod aircraft; | ||
|
||
// stage 4 | ||
pub mod route; | ||
pub mod route; // under development | ||
|
||
// to keep track of changes for data files in `../data` | ||
#[macro_export] | ||
macro_rules! ac_version { | ||
() => { | ||
"0" | ||
}; | ||
} | ||
pub const AC_FILENAME: &str = concat!("aircrafts-v", ac_version!(), ".bin"); | ||
|
||
#[macro_export] | ||
macro_rules! ap_version { | ||
() => { | ||
"0" | ||
}; | ||
} | ||
pub const AP_FILENAME: &str = concat!("airports-v", ap_version!(), ".bin"); | ||
// distances are generated from the airports | ||
pub const DIST_FILENAME: &str = concat!("distances-v", ap_version!(), ".bin"); | ||
|
||
#[macro_export] | ||
macro_rules! demand_version { | ||
() => { | ||
"0" | ||
}; | ||
} | ||
pub const DEM_FILENAME0: &str = concat!("demands0-v", demand_version!(), ".bin"); | ||
pub const DEM_FILENAME1: &str = concat!("demands1-v", demand_version!(), ".bin"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.