some files

This commit is contained in:
fabolous005 2025-10-04 10:06:28 +02:00
parent 06cda00c4d
commit eb194e8b4e
4 changed files with 39 additions and 0 deletions

View File

@ -1,3 +1,7 @@
#![feature(allocator_api)]
mod structure;
fn main() { fn main() {
println!("Hello, world!"); println!("Hello, world!");
} }

2
src/structure/mod.rs Normal file
View File

@ -0,0 +1,2 @@
mod neuron;
mod sensoric;

20
src/structure/neuron.rs Normal file
View 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
View File

@ -0,0 +1,13 @@
/*
*/
trait Sensor {
type Packet;
fn input(&self) -> Self::Packet;
}