yinspire 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +24 -0
- data/bench/pq/Makefile +5 -0
- data/bench/pq/bench.cc +321 -0
- data/bench/pq/bench.rb +125 -0
- data/bench/pq/bench_binaryheap.h +46 -0
- data/bench/pq/bench_calendarqueue.h +58 -0
- data/bench/pq/bench_pairingheap.h +61 -0
- data/bench/pq/bench_stlpq.h +46 -0
- data/bench/pq/benchmark.h +225 -0
- data/bench/pq/distribution.h +93 -0
- data/bench/pq/make.rb +24 -0
- data/bin/yinspire +186 -0
- data/examples/nets/gereon2005.c.json +93723 -0
- data/examples/nets/gereon2005.yin +232650 -0
- data/examples/nets/skorpion.graphml +396 -0
- data/examples/nets/spiketrains_angle_180.txt +8 -0
- data/lib/Algorithms/Array.h +52 -0
- data/lib/Algorithms/BinaryHeap.h +265 -0
- data/lib/Algorithms/CalendarQueue.h +257 -0
- data/lib/Algorithms/IndexedBinaryHeap.h +90 -0
- data/lib/Algorithms/PairingHeap.h +169 -0
- data/lib/Allocators/ChunkedFreelistAllocator.h +96 -0
- data/lib/Allocators/MemoryAllocator.h +45 -0
- data/lib/Allocators/RubyMemoryAllocator.h +37 -0
- data/lib/Yinspire.rb +69 -0
- data/lib/Yinspire/All.rb +10 -0
- data/lib/Yinspire/Core/NeuralEntity.rb +133 -0
- data/lib/Yinspire/Core/Neuron.rb +162 -0
- data/lib/Yinspire/Core/Scheduling/NeuralEntity.rb +123 -0
- data/lib/Yinspire/Core/Scheduling/Simulator.rb +94 -0
- data/lib/Yinspire/Core/Simulator.rb +36 -0
- data/lib/Yinspire/Core/StimuliMixin.rb +103 -0
- data/lib/Yinspire/Core/Stimulus.rb +25 -0
- data/lib/Yinspire/Core/Synapse.rb +64 -0
- data/lib/Yinspire/Dumpers/Dumper.rb +19 -0
- data/lib/Yinspire/Dumpers/Dumper_Dot.rb +28 -0
- data/lib/Yinspire/Loaders/GraphML.rb +84 -0
- data/lib/Yinspire/Loaders/Loader.rb +31 -0
- data/lib/Yinspire/Loaders/Loader_GraphML.rb +97 -0
- data/lib/Yinspire/Loaders/Loader_JSON.rb +181 -0
- data/lib/Yinspire/Loaders/Loader_Spike.rb +42 -0
- data/lib/Yinspire/Loaders/Loader_Yin.rb +62 -0
- data/lib/Yinspire/Loaders/YinScanner.rb +247 -0
- data/lib/Yinspire/Models/Neuron_Base.rb +38 -0
- data/lib/Yinspire/Models/Neuron_Input.rb +12 -0
- data/lib/Yinspire/Models/Neuron_InputOutput.rb +39 -0
- data/lib/Yinspire/Models/Neuron_Output.rb +15 -0
- data/lib/Yinspire/Models/Neuron_SRM01.rb +50 -0
- data/lib/Yinspire/Models/Neuron_SRM02.rb +64 -0
- data/lib/Yinspire/Models/Synapse_Hebb.rb +67 -0
- data/pure_cpp/Makefile +22 -0
- data/pure_cpp/README +2 -0
- data/pure_cpp/src/algo/binary_heap.h +277 -0
- data/pure_cpp/src/algo/indexed_binary_heap.h +90 -0
- data/pure_cpp/src/json/json.cc +542 -0
- data/pure_cpp/src/json/json.h +182 -0
- data/pure_cpp/src/json/json_parser.cc +685 -0
- data/pure_cpp/src/json/json_parser.h +15 -0
- data/pure_cpp/src/json/json_parser.rl +213 -0
- data/pure_cpp/src/main.cc +49 -0
- data/pure_cpp/src/memory_allocator.h +45 -0
- data/pure_cpp/src/neural_entity.cc +208 -0
- data/pure_cpp/src/neural_entity.h +243 -0
- data/pure_cpp/src/neuron.cc +136 -0
- data/pure_cpp/src/neuron.h +70 -0
- data/pure_cpp/src/neuron_srm_01.cc +77 -0
- data/pure_cpp/src/neuron_srm_01.h +36 -0
- data/pure_cpp/src/simulator.cc +151 -0
- data/pure_cpp/src/simulator.h +116 -0
- data/pure_cpp/src/synapse.cc +117 -0
- data/pure_cpp/src/synapse.h +60 -0
- data/pure_cpp/src/types.h +18 -0
- data/run.rb +68 -0
- data/tools/conv_jsonc_to_yin.rb +165 -0
- data/tools/converter.rb +93 -0
- data/tools/json_writer.rb +122 -0
- data/yinspire.gemspec +20 -0
- metadata +156 -0
data/yinspire.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
|
3
|
+
spec = Gem::Specification.new do |s|
|
4
|
+
s.name = "yinspire"
|
5
|
+
s.version = "0.1.0"
|
6
|
+
s.summary = "An efficient Spiking Neural Net Simulator"
|
7
|
+
s.files = Dir['**/*']
|
8
|
+
s.add_dependency('cplus2ruby', '>= 1.1.1')
|
9
|
+
s.executables = ['yinspire']
|
10
|
+
|
11
|
+
s.author = "Michael Neumann"
|
12
|
+
s.email = "mneumann@ntecs.de"
|
13
|
+
s.homepage = "http://www.ntecs.de/projects/yinspire/"
|
14
|
+
s.rubyforge_project = "yinspire"
|
15
|
+
end
|
16
|
+
|
17
|
+
if __FILE__ == $0
|
18
|
+
Gem::manage_gems
|
19
|
+
Gem::Builder.new(spec).build
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,156 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yinspire
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Michael Neumann
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-03-31 00:00:00 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: cplus2ruby
|
17
|
+
version_requirement:
|
18
|
+
version_requirements: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - ">="
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 1.1.1
|
23
|
+
version:
|
24
|
+
description:
|
25
|
+
email: mneumann@ntecs.de
|
26
|
+
executables:
|
27
|
+
- yinspire
|
28
|
+
extensions: []
|
29
|
+
|
30
|
+
extra_rdoc_files: []
|
31
|
+
|
32
|
+
files:
|
33
|
+
- bench
|
34
|
+
- bench/pq
|
35
|
+
- bench/pq/bench_pairingheap.h
|
36
|
+
- bench/pq/bench_binaryheap.h
|
37
|
+
- bench/pq/bench.rb
|
38
|
+
- bench/pq/bench_calendarqueue.h
|
39
|
+
- bench/pq/Makefile
|
40
|
+
- bench/pq/distribution.h
|
41
|
+
- bench/pq/make.rb
|
42
|
+
- bench/pq/bench_stlpq.h
|
43
|
+
- bench/pq/bench.cc
|
44
|
+
- bench/pq/benchmark.h
|
45
|
+
- yinspire.gemspec
|
46
|
+
- pure_cpp
|
47
|
+
- pure_cpp/src
|
48
|
+
- pure_cpp/src/algo
|
49
|
+
- pure_cpp/src/algo/indexed_binary_heap.h
|
50
|
+
- pure_cpp/src/algo/binary_heap.h
|
51
|
+
- pure_cpp/src/neuron.cc
|
52
|
+
- pure_cpp/src/neural_entity.cc
|
53
|
+
- pure_cpp/src/neuron.h
|
54
|
+
- pure_cpp/src/simulator.h
|
55
|
+
- pure_cpp/src/neuron_srm_01.h
|
56
|
+
- pure_cpp/src/neural_entity.h
|
57
|
+
- pure_cpp/src/memory_allocator.h
|
58
|
+
- pure_cpp/src/synapse.h
|
59
|
+
- pure_cpp/src/main.cc
|
60
|
+
- pure_cpp/src/synapse.cc
|
61
|
+
- pure_cpp/src/json
|
62
|
+
- pure_cpp/src/json/json_parser.rl
|
63
|
+
- pure_cpp/src/json/json_parser.h
|
64
|
+
- pure_cpp/src/json/json.cc
|
65
|
+
- pure_cpp/src/json/json.h
|
66
|
+
- pure_cpp/src/json/json_parser.cc
|
67
|
+
- pure_cpp/src/neuron_srm_01.cc
|
68
|
+
- pure_cpp/src/simulator.cc
|
69
|
+
- pure_cpp/src/types.h
|
70
|
+
- pure_cpp/Makefile
|
71
|
+
- pure_cpp/README
|
72
|
+
- lib
|
73
|
+
- lib/Allocators
|
74
|
+
- lib/Allocators/MemoryAllocator.h
|
75
|
+
- lib/Allocators/ChunkedFreelistAllocator.h
|
76
|
+
- lib/Allocators/RubyMemoryAllocator.h
|
77
|
+
- lib/Yinspire.rb
|
78
|
+
- lib/Yinspire
|
79
|
+
- lib/Yinspire/Models
|
80
|
+
- lib/Yinspire/Models/Neuron_Base.rb
|
81
|
+
- lib/Yinspire/Models/Synapse_Hebb.rb
|
82
|
+
- lib/Yinspire/Models/Neuron_Input.rb
|
83
|
+
- lib/Yinspire/Models/Neuron_Output.rb
|
84
|
+
- lib/Yinspire/Models/Neuron_InputOutput.rb
|
85
|
+
- lib/Yinspire/Models/Neuron_SRM01.rb
|
86
|
+
- lib/Yinspire/Models/Neuron_SRM02.rb
|
87
|
+
- lib/Yinspire/Core
|
88
|
+
- lib/Yinspire/Core/StimuliMixin.rb
|
89
|
+
- lib/Yinspire/Core/NeuralEntity.rb
|
90
|
+
- lib/Yinspire/Core/Scheduling
|
91
|
+
- lib/Yinspire/Core/Scheduling/Simulator.rb
|
92
|
+
- lib/Yinspire/Core/Scheduling/NeuralEntity.rb
|
93
|
+
- lib/Yinspire/Core/Synapse.rb
|
94
|
+
- lib/Yinspire/Core/Neuron.rb
|
95
|
+
- lib/Yinspire/Core/Simulator.rb
|
96
|
+
- lib/Yinspire/Core/Stimulus.rb
|
97
|
+
- lib/Yinspire/Dumpers
|
98
|
+
- lib/Yinspire/Dumpers/Dumper.rb
|
99
|
+
- lib/Yinspire/Dumpers/Dumper_Dot.rb
|
100
|
+
- lib/Yinspire/Loaders
|
101
|
+
- lib/Yinspire/Loaders/Loader_Yin.rb
|
102
|
+
- lib/Yinspire/Loaders/Loader_GraphML.rb
|
103
|
+
- lib/Yinspire/Loaders/Loader.rb
|
104
|
+
- lib/Yinspire/Loaders/YinScanner.rb
|
105
|
+
- lib/Yinspire/Loaders/GraphML.rb
|
106
|
+
- lib/Yinspire/Loaders/Loader_Spike.rb
|
107
|
+
- lib/Yinspire/Loaders/Loader_JSON.rb
|
108
|
+
- lib/Yinspire/All.rb
|
109
|
+
- lib/Algorithms
|
110
|
+
- lib/Algorithms/IndexedBinaryHeap.h
|
111
|
+
- lib/Algorithms/Array.h
|
112
|
+
- lib/Algorithms/PairingHeap.h
|
113
|
+
- lib/Algorithms/CalendarQueue.h
|
114
|
+
- lib/Algorithms/BinaryHeap.h
|
115
|
+
- bin
|
116
|
+
- bin/yinspire
|
117
|
+
- README
|
118
|
+
- run.rb
|
119
|
+
- examples
|
120
|
+
- examples/nets
|
121
|
+
- examples/nets/gereon2005.c.json
|
122
|
+
- examples/nets/spiketrains_angle_180.txt
|
123
|
+
- examples/nets/skorpion.graphml
|
124
|
+
- examples/nets/gereon2005.yin
|
125
|
+
- tools
|
126
|
+
- tools/converter.rb
|
127
|
+
- tools/json_writer.rb
|
128
|
+
- tools/conv_jsonc_to_yin.rb
|
129
|
+
has_rdoc: false
|
130
|
+
homepage: http://www.ntecs.de/projects/yinspire/
|
131
|
+
post_install_message:
|
132
|
+
rdoc_options: []
|
133
|
+
|
134
|
+
require_paths:
|
135
|
+
- lib
|
136
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
+
requirements:
|
138
|
+
- - ">="
|
139
|
+
- !ruby/object:Gem::Version
|
140
|
+
version: "0"
|
141
|
+
version:
|
142
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: "0"
|
147
|
+
version:
|
148
|
+
requirements: []
|
149
|
+
|
150
|
+
rubyforge_project: yinspire
|
151
|
+
rubygems_version: 1.1.0
|
152
|
+
signing_key:
|
153
|
+
specification_version: 2
|
154
|
+
summary: An efficient Spiking Neural Net Simulator
|
155
|
+
test_files: []
|
156
|
+
|