ce6cfb7977
Add tests for Rubella::Input::Base
2015-05-01 12:43:01 +02:00
13397ccfe7
Add tests for Rubella::Storage.data, Rubella::Storage.new
2015-05-01 11:18:56 +02:00
366cd8aa45
Add tests for Rubella::Storage.length=
2015-05-01 10:17:39 +02:00
d061bfc1eb
Add specs for Rubella::Storage.dataset_length
2015-05-01 08:44:36 +02:00
fe290c5871
Moved to spec/spec.opts
2015-05-01 08:28:00 +02:00
06e61a7aa0
Add tests for Storage:each
2015-05-01 08:23:14 +02:00
7d7f01b6d2
Add first test for the Storage
2015-05-01 08:10:36 +02:00
d592e315d8
Create test infrastructure
2015-05-01 08:09:40 +02:00
b9ecfcf3af
Make Storage:dateset_length able to handle non multidimensional arrays
2015-05-01 08:07:40 +02:00
c341f10ca9
Remove not needed abstract classes
...
The constructor classes are not needed for making the library work.
So I removed them.
2015-04-26 19:11:59 +02:00
2f61b479eb
Remove static setting of total amount of cores
2015-04-26 19:08:34 +02:00
6916446089
Tidy up not needed variables
2015-04-26 07:30:25 +02:00
e14e083901
The output classes now use the new storage interface
2015-04-26 07:16:48 +02:00
4458bc9be3
Add some docs for each
2015-04-26 07:16:27 +02:00
3aa7d60d77
Make storage respond to each
2015-04-26 07:16:05 +02:00
87f2943fba
Storage responds to length
...
Now the storage will return the current length.
And not the set length anymore. But if there are datasets in the storge it
will be as long as the setted length.
It also can return the length of its datasets.
2015-04-26 07:01:18 +02:00
f561b2c769
Make interface for weighting input smaller
...
The input object must now only respond to each and must contain
arrays.
2015-04-25 22:52:20 +02:00
9a013f53fd
Make Rubella::Input classes respond to each
...
Also fix some code convetions
2015-04-25 22:41:05 +02:00
9b4ad30a7e
Delete unnecessary methods
...
The deleted methods does not do what I intended them to do.
So I removed them.
2015-04-25 22:31:03 +02:00
8d7d646f4c
Add implementation of Rubella::Weighting::Expotential
2015-04-25 22:28:47 +02:00
6d9eecb5e5
Add implementation of Rubella::Weighting::PerOverallLoad
2015-04-25 22:09:16 +02:00
f825743491
Fix for raise ArgumentError
2015-04-25 20:11:05 +02:00
6c0705df3b
Fix for raise NotImplementedError
2015-04-25 20:06:20 +02:00
66b2becebd
Rework output API
...
Now you give the data at the creation of the object to render it
later.
So you need to create a new output object for every new set of data.
2015-04-25 17:02:39 +02:00
2bb29d9e8d
Prefill Storage with zero values
...
Only if Storage already has some data.
Disable empty and prefill feature if given lenght is 0.
2015-04-25 16:31:32 +02:00
01c1f97750
Drop entries in storage, if more than new length
2015-04-25 15:48:45 +02:00
26d09a71fd
Move Map class to seperate file
...
The class Map hat now an own file named after the class.
So the rest seems a bit more independent.
2015-03-14 10:54:03 +01:00
808e8972b5
Concatunate storages into new storage
...
Now we cat add new data to the old storage, which returns a new storage
containg first the new data and then the old data.
Plus a test for this, because it's not implemented now.
2015-03-14 10:29:15 +01:00
cf426e2a48
Add Rubella::Input::Base
...
Add a base class for Inputs so we have an interface for this.
Use this interface in Rubella::Input::JSON.
2015-02-24 21:45:57 +01:00
600443ddd4
Improvement of Rubella::Output::ASCII
...
I've fixed a bug, which causes, the 11 than 10 lines tho the outputted data.
Now the empty line at the end is removed.
Corresponding to the base class create now returns self.
I also added some documentation.
2015-02-24 21:30:14 +01:00
f5efd50d9f
Improvement of Rubella::Output::Image
...
The class now overwrites the constructor of the basic class to set a default
field_size value of 15 pixels.
It also returns self in the create method corresponding to the base class.
Plus I've added the documentation.
2015-02-24 20:57:56 +01:00
e6922a81a5
Add abstract create method
...
Now the create method belongs to the Output API and must be inmplemented in
the concrete classes.
I also added some docu there.
2015-02-24 20:39:55 +01:00
4fb2199599
Fix documentation
2015-02-24 20:39:33 +01:00
85f2627ac6
Fix documentation
2015-02-24 20:38:47 +01:00
65cf4f6b15
Use Rubella::Output::Base
...
Not complete yet.
2015-02-23 22:29:18 +01:00
c8ba902bc9
Add (still empty) base class for Rubella::Output
2015-02-23 22:12:26 +01:00
9f653408d7
Use new Storage class
...
The new Storage class is now used. It's atm not used, as it should be, but for
the first implementation it's okay. Improvement will follow.
2015-02-23 22:00:32 +01:00
7e53960271
Load Storage
2015-02-23 21:57:05 +01:00
6702a58851
Add a storage
...
This storage should contain the weighted data, before it it's used in the
output classes. So we can create a timeline.
Plus we have a nice place to store the weighted data.
2015-02-23 21:54:01 +01:00
a80c46c5c9
Create a base class for weighting
...
This class should contain methods, which are used in more than one weighting
class.
At the moment it contains the bucket handling.
2015-02-23 21:28:41 +01:00
7c7c554d83
Add documentation for Rubella:Weighting::PerValue
2015-02-22 23:06:42 +01:00
3bfb03c29c
Add documentation and TODOs for JSON input
2015-02-22 22:40:52 +01:00
7a42644b3b
Add possibility to change symbol sets
2015-02-22 22:32:39 +01:00
59d5a3a144
Add multiple symbol sets
2015-02-22 22:24:25 +01:00
74016715df
Improve math and erase case-selection
...
Now mathematics does the job ob the case statemant.
2015-02-22 22:12:28 +01:00
1ec11e4f5c
Use a instance variable instead of static values for shades
...
So I can provide different types of symbols for the ascii heatmap
2015-02-22 08:40:58 +01:00
586c0a4476
Improve ASCII output
2015-02-20 21:59:59 +01:00
a8e226205c
Use 10 Shades instead of 5 in ASCII output
2015-02-20 21:57:24 +01:00
5b72c19df0
Add ASCII art output
...
Just for fun
2015-02-19 23:39:39 +01:00
b337198350
Add some more doc
2015-02-19 22:40:38 +01:00