some files
This commit is contained in:
parent
06cda00c4d
commit
eb194e8b4e
@ -1,3 +1,7 @@
|
||||
#![feature(allocator_api)]
|
||||
|
||||
mod structure;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
|
||||
2
src/structure/mod.rs
Normal file
2
src/structure/mod.rs
Normal file
@ -0,0 +1,2 @@
|
||||
mod neuron;
|
||||
mod sensoric;
|
||||
20
src/structure/neuron.rs
Normal file
20
src/structure/neuron.rs
Normal file
@ -0,0 +1,20 @@
|
||||
/*
|
||||
|
||||
Neuron:
|
||||
condition of beeing fired
|
||||
duration
|
||||
neurons that already have been fired
|
||||
neurons that haven't been fired
|
||||
connection strenght
|
||||
|
||||
System:
|
||||
neurons
|
||||
connections
|
||||
need for new neurons
|
||||
|
||||
Brain:
|
||||
systems
|
||||
|
||||
*/
|
||||
|
||||
|
||||
13
src/structure/sensoric.rs
Normal file
13
src/structure/sensoric.rs
Normal file
@ -0,0 +1,13 @@
|
||||
/*
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
trait Sensor {
|
||||
type Packet;
|
||||
|
||||
fn input(&self) -> Self::Packet;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user