projects
/
Mitarbeiter
/
Tim-Zeitz
/
stud-rust-base.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
bb11a001e5cdaecb4c2b8ef3a65c8696ba9ac2c2
[Mitarbeiter/Tim-Zeitz/stud-rust-base.git]
/
src
/
types.rs
1
use std;
2
3
#[allow(dead_code)]
4
pub type NodeId = u32;
5
#[allow(dead_code)]
6
pub type EdgeId = u32;
7
#[allow(dead_code)]
8
pub type Weight = u32;
9
#[allow(dead_code)]
10
pub const INFINITY: Weight = std::u32::MAX / 2;