some files
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#![feature(allocator_api)]
|
||||
|
||||
mod structure;
|
||||
|
||||
fn main() {
|
||||
println!("Hello, world!");
|
||||
}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
mod neuron;
|
||||
mod sensoric;
|
||||
@@ -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
|
||||
|
||||
*/
|
||||
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
/*
|
||||
|
||||
|
||||
|
||||
*/
|
||||
|
||||
trait Sensor {
|
||||
type Packet;
|
||||
|
||||
fn input(&self) -> Self::Packet;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user