Search results

  1. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class DISkillUtils ' alg part based algorithm building methods ' var args param Public Function AlgBuilder(ParamArray algParts As Mutatable()) As Algorithm ' returns an algorithm built with the algPart varargs Dim algParts1 As New List(Of Mutatable)()...
  2. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class Neuron Private defcons As New Dictionary(Of Integer, List(Of Algorithm)) Public Sub New() For i As Integer = 1 To 5 defcons(i) = New List(Of Algorithm)() Next End Sub Public Sub InsertAlg(priority As Integer...
  3. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class Kokoro Private emot As String = "" Public Function GetEmot() As String Return emot End Function Public Sub SetEmot(emot As String) Me.emot = emot End Sub Public grimoireMemento As GrimoireMemento Public toHeart As New Hashtable()...
  4. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class Algorithm Private algParts As New List(Of Mutatable)() Public Sub New(ByVal algParts As List(Of Mutatable)) MyBase.New() Me.algParts = algParts End Sub Public Function GetAlgParts() As List(Of Mutatable) Return...
  5. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class APCldVerbatim Inherits Mutatable ' This algorithm part says each past param verbatim Private sentences As New List(Of String)() Private at As Integer = 0 Private cldBool As CldBool ' Access via shallow reference Public Sub New(ByVal cldBool As CldBool, ByVal...
  6. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class CldBool ' cloudian : this class is used to provide shadow reference to a boolean variable Private modeActive As Boolean = False Public Function GetModeActive() As Boolean Return modeActive End Function Public Sub SetModeActive(ByVal modeActive As...
  7. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class GrimoireMemento Private absDictionaryDB As AbsDictionaryDB Public Sub New(ByVal absDictionaryDB As AbsDictionaryDB) MyBase.New() Me.absDictionaryDB = absDictionaryDB End Sub Public Function SimpleLoad(ByVal key As String) As...
  8. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class APVerbatim Inherits Mutatable ' This algorithm part says each past param verbatim Private sentences As New List(Of String)() Private at As Integer = 0 Public Sub New(ParamArray sentences() As String) For Each sentence As String In sentences...
  9. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class DeepCopier Public Function DeepCopyStringList(originalList As List(Of String)) As List(Of String) ' Create a new list and copy each element from the original list. Dim copiedList As New List(Of String)(originalList.Count) For Each item As...
  10. fukurou

    👨‍💻 dev LG port Java->vb.net

    Public Class AbsDictionaryDB Public Sub Save(key As String, value As String) ' Save to DB (override me) End Sub Public Function Load(key As String) As String ' Override me Return "null" End Function End Class Public...
  11. fukurou

    [MEDIA]

  12. fukurou

    Arduino beefup

  13. fukurou

    Arduino beefup

    #include "DiHelloWorld.h" #include "LivinGrimoireLight.h" void setup() { Led led1(13); // used to initialize the Hello World skill Skill* s2 = new DiHelloWorld(led1); // example skill created Chobit* c1 = new Chobit(); c1->addSkill(s2); c1->think(0, 0, 0); c1->think(0, 0...
  14. fukurou

    [MEDIA]

  15. fukurou

    [MEDIA]

  16. fukurou

    DiAware port

    public class DiAware extends DiSkillV2 { private Chobits chobit; private String name; private String summoner = "user"; private ArrayList<String> skills = new ArrayList<String>(); public Responder replies = new Responder("what","yes", "listening", name + " listening", name +...
  17. fukurou

    [MEDIA]

  18. fukurou

    we need to find the entry points

    class DiBlabberV3(DiSkillV2): def __init__(self, memory_size: int = 9, reply_chance: int = 90): super().__init__() self.npc: AXNPC2 = AXNPC2(memory_size, reply_chance) self._temp_str: str = "" self.splitter: AXStringSplit = AXStringSplit()...
  19. fukurou

    we need to find the entry points

    wait I think I found it: if not npc.learn(ear): # str learn npc.strLearn(ear) let's try: if not npc.learn(ear): # str learn if not npc.strLearn(ear): return save npc.strLearn(ear) should return a boolean the...
  20. fukurou

    we need to find the entry points

    Eliza.PhraseMatcher.reflect
Top