Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Gruppe44-PROG1003-2022
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Blakli
Gruppe44-PROG1003-2022
Commits
692a1ed1
Commit
692a1ed1
authored
3 years ago
by
Andreas Blakli
Browse files
Options
Downloads
Patches
Plain Diff
Oppdaterte verdiene til konstantene til mer rimlige verdier og la til kommentarer i konstanter.h.
parent
80c0edf9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
konstanter.h
+20
-18
20 additions, 18 deletions
konstanter.h
with
20 additions
and
18 deletions
konstanter.h
+
20
−
18
View file @
692a1ed1
...
@@ -3,24 +3,26 @@
...
@@ -3,24 +3,26 @@
#include
<string>
#include
<string>
const
int
MAX_ANTALL_STAPLASSER
=
100
;
const
int
MAX_ANTALL_STAPLASSER
=
60
;
///< Max antall staplasser i en buss.
const
int
MIN_ANTALL_STAPLASSER
=
0
;
const
int
MIN_ANTALL_STAPLASSER
=
5
;
///< Min antall staplasser i en buss.
const
int
MAX_ANTALL_SITTEPLASSER
=
100
;
const
int
MAX_ANTALL_SITTEPLASSER
=
80
;
///< Max antall sitteplasser i en buss.
const
int
MIN_ANTALL_SITTEPLASSER
=
0
;
const
int
MIN_ANTALL_SITTEPLASSER
=
20
;
///< Min antall sitteplasser i en buss.
const
int
MAX_ANTALL_VOGNER
=
100
;
const
int
MAX_ANTALL_VOGNER
=
100
;
///< Max antall vogner i en bane.
const
int
MIN_ANTALL_VOGNER
=
0
;
const
int
MIN_ANTALL_VOGNER
=
1
;
///< Min antall vogner i en bane.
const
int
MAX_BANELENGDE
=
99999
;
const
int
MAX_BANELENGDE
=
99999
;
///< Max lengde på en bane.
const
int
MIN_BANELENGDE
=
0
;
const
int
MIN_BANELENGDE
=
1
;
///< Min lengde på en bane.
const
int
MAX_MINUTTER
=
59
;
const
int
MAX_MINUTTER
=
59
;
///< Max minutter i en time.
const
int
MIN_MINUTTER
=
1
;
const
int
MIN_MINUTTER
=
1
;
///< Min minutter.
const
int
MAX_TIMER
=
23
;
const
int
MAX_TIMER
=
23
;
///< Max timer i ett døgn.
const
int
MIN_TIMER
=
0
;
const
int
MIN_TIMER
=
0
;
///< Min timer.
const
int
MAX_RUTER
=
9999
;
const
int
MAX_RUTER
=
999
;
///< Max antall ruter.
const
int
MIN_RUTER
=
1
;
const
int
MIN_RUTER
=
1
;
///< Min ruter.
const
int
MIN_AVGANGS_TID
=
6
;
const
int
MIN_AVGANGS_TID
=
6
;
///< Min avgangstid for rute tabell.
const
int
MAX_AVGANGS_TID
=
120
;
const
int
MAX_AVGANGS_TID
=
120
;
///< Max avgangstid for rute tabell.
const
int
MAX_CHAR
=
200
;
const
int
MAX_CHAR
=
200
;
///< Max antall chars.
///< Stien til stoppesteder dta fil.
const
std
::
string
STI_STOPPESTEDER
=
"STOPPESTEDER.DTA"
;
const
std
::
string
STI_STOPPESTEDER
=
"STOPPESTEDER.DTA"
;
///< Stien til ruter dta fil.
const
std
::
string
STI_RUTER
=
"RUTER.DTA"
;
const
std
::
string
STI_RUTER
=
"RUTER.DTA"
;
#endif // __KONSTANTER_H
#endif // __KONSTANTER_H
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment