This repository has been archived by the owner on May 28, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
fulton
committed
Feb 18, 2020
1 parent
d7a78e8
commit 539a761
Showing
23 changed files
with
46 additions
and
22 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/inputs/source-to-output.tab_i
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/proto.tab_i
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/jvm/kotlin/source-to-classes.tab
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/lookups/file-to-id.tab_i
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/lookups/id-to-file.tab
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
build/kotlin/compileKotlin/caches-jvm/lookups/lookups.tab_i
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/Brain.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/BrainType.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/CLI.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/Cell.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/CellBase.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/Generate.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/inputSources/Camera.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/models/StructuredData.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/readers/GetReader.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/readers/TSV.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/run.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/scripts/BasicDemo.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/scripts/VoiceScript.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/util/RunOnGpu$kernel$1.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/util/RunOnGpu.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/Brain.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/BrainType.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/CLI.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/Cell.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/CellBase.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/Generate.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/inputSources/Camera.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/models/StructuredData.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/readers/GetReader.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/readers/TSV.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/scripts/BasicDemo.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/scripts/VoiceScript.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/util/RunOnGpu$kernel$1.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/util/RunOnGpu.class | ||
/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/CellBase.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/brain/StructuredData.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/readers/GetReader.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/readers/TSV.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/scripts/BasicDemo.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/scripts/Image.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/scripts/VoiceScript.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/util/RunOnGpu$kernel$1.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/demos/util/RunOnGpu.class:/home/fulton/Desktop/code/mars/build/classes/java/main/com/andromeda/mars/run.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/CellBase.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/brain/StructuredData.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/readers/GetReader.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/readers/TSV.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/scripts/BasicDemo.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/scripts/Image.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/scripts/VoiceScript.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/util/RunOnGpu$kernel$1.class:/home/fulton/Desktop/code/mars/build/classes/kotlin/main/com/andromeda/mars/demos/util/RunOnGpu.class |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,14 @@ | ||
package com.andromeda.mars.brain | ||
|
||
class StructuredData(val label:Any, val data:ArrayList<Int> ) { | ||
class StructuredData(val label:Any, var data:ArrayList<Int> ) { | ||
fun addData(newData:ArrayList<Int>, cellBase: CellBase){ | ||
val newVal = arrayListOf<Int>() | ||
newData.forEachIndexed { index, t -> | ||
cellBase.operation(t, data[index]) | ||
newVal.add(cellBase.operation(t, data[index])) | ||
newVal.reverse() | ||
data = newVal | ||
println(data.size) | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters