Search results

  1. owly

    AX beefup

    class EV3DaisyChain { // this class connects several logic gates triggers together var trgGates:Array<TrGEV3> = [TrGEV3]() func EV3DaisyChain(_ gates:TrGEV3...) { for g8t:TrGEV3 in gates{ trgGates.append(g8t) } } func reset() { for...
  2. owly

    AX beefup

    // TRIGGERS public class TrGEV3 { // advanced boolean gates with internal logic // these ease connecting common logic patterns, as triggers func reset() { } func input(ear:String, skin:String, eye:String) { } func trigger() -> Bool{ return false; } }
  3. owly

    AX beefup

  4. owly

    AX beefup

    class ForcedLearn{ var keyWord:String = "say" let rUtil:RegexUtil = RegexUtil() let p1:PriorityQueue<String> = PriorityQueue<String>() var queLimit:Int = 5 func input(in1:String) { if rUtil.firstWord(str2Check: in1).elementsEqual(keyWord){...
  5. owly

    AX beefup

    class RepeatedElements{ // detects repeating elements let p1:PriorityQueue<String> = PriorityQueue<String>() let p2:PriorityQueue<String> = PriorityQueue<String>() var queLimit:Int = 5 func input(in1:String) { if p1.elements.contains(in1){ p2.insert(in1)...
  6. owly

    AX beefup

    package AXJava; public class InputFilter { // filter out non-relevant input // or filter in relevant data public String filter(String ear, String skin, String eye){ // override me return ""; } }
  7. owly

    AX beefup

    let happy = Responder("good","awesome","great","wonderful","sweet","happy") let curious = Responder("why","where","when","how","who","which","whose") let angry = Responder("hiyas","fudge","angry","waste","stupid","retard")
  8. owly

    AX beefup

    use a temp neuron to clear the outAlg :s44:
  9. owly

    AX beefup

    // (*)Algorithm Dispensers class AlgDispenser { // super class to output an algorithm out of a selection of algorithms var algs:Array<Algorithm> = [Algorithm]() var activeAlg:Int = 0 init(_algorithms:Algorithm...){ for alg in _algorithms { algs.append(alg)...
  10. owly

    AX beefup

    and add rnd simple functions
  11. owly

    AX beefup

    translate this: class DrawRnd { private var numbers:Array<Int> = [Int]() init(size:Int){ for index in 1...size{ numbers.append(index) } } init(_ markers:Int...) { for num in markers { numbers.append(num) } } func...
  12. owly

    AX beefup

    too many stinkin folder
  13. owly

    AX beefup

    I've been playing VNs most of the day trying to crack the loebner puzzle. it would appear combining the spider sense with loads and loads of responders(crafters in this case) could be the key. DJoker skill could also be a heavy upgrade. at any rate, do the cycler AX next
  14. owly

    AX beefup

    catche k,v limit:int contains overwrite insert has_room()? *** k,v: #,key insertRND(k,V) insertAt(pos,k,v)
  15. owly

    AX beefup

    we are going to forgea new data structure beast! a cache ! a dictionary with a limited size :s59:
  16. owly

    AX beefup

  17. owly

    AX beefup

    package AXJava; import LivinGrimoire.*; public class LGTypeConverter { private RegexUtil r1 = new RegexUtil(); public int convertToInt(String v1){ String temp = r1.extractRegex(enumRegexGrimoire.integer, v1); if (temp.isEmpty()) {return 0;} return...
  18. owly

    AX beefup

    OoooWeee! :s40:
  19. owly

    operation wiki

    done
  20. owly

    operation wiki

    timestamp! lets see how fast I can do 1 :s69:
Top