operator_advisor 0.1.8

advisor of forest operators library for a digital twin application prototype
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use serde::{Deserialize, Serialize};

#[derive(Deserialize, Serialize, Clone, Debug)]
/// Represent the state of an observation from the data from the simulator https://gitlab.com/forestry-operator-digital-twin/data
pub struct Label {
    pub data: Vec<Inner>,
}

#[derive(Deserialize, Serialize, Clone, Debug)]
pub struct Inner {
    pub from: usize,
    pub to: usize,
    pub state: usize,
}