# "*": "https://raw.githubusercontent.com/wefindx/schema/master/method/oo-item.yaml" # "base:title": "0oo - Can A* be used to generate algorithm sourcecode?" "og:title": "Can A* be used to generate algorithm sourcecode?" "og:description": "If you project the desired code variables onto a multidimensional space and with a time dimension, where each variable has a assignment algebra you can imagine the input code causing movements to the output algebra for each variable How do you measure that a solution gets nearer to the solution when you haven't planned what you could do It should be a multidimensional walk toward a solution that solves the programming problem. I want to generate the btree algorithm and other algorithms with this approach I should provide example inputs to output mappings and join the Data between the input …" "og:image": "https://avatars0.githubusercontent.com/u/28134655" "og:url": "/method/139001/" "base:css": "/static/css/bootstrap.min.9c25540d6272.css" "base:extra-css": "/static/css/base.57997aeac1df.css" "base:favicon": "/static/favicon.acaa334f0136.ico" "base:body_class": "" "layout:logo": "/static/0oo.8d2a8bbef612.svg" "layout:index": "/" "layout:menu": "/menu/" "layout:categories": "/intents/" "layout:ideas": "/methods/" "layout:projects": "/projects/" "layout:users": "/users/" "layout:about": "/about/" "layout:help": "/help/" "layout:bug_report": "https://github.com/wefindx/0oo" "layout:login": "/accounts/login/" "layout:light-off": "/darken/?darken=true" "layout:set-monolingual": "/mulang/?mulang=false" "layout:lang": "Language" "layout:set-language-post-action": "/i18n/setlang/" "layout:csrf-token": "Kcvmih8wolQ15VaJoFbSl8q9RpKsLBPdfHkuWbs4v4HGntfeXwZOdoqYpkk01pO5" "layout:input-next": "/method/139001/" "layout:languages": [{"code": "ja", "is-active": "false", "name": "日本語"}, {"code": "lt", "is-active": "false", "name": "Lietuviškai"}, {"code": "zh-hans", "is-active": "false", "name": "简体中文"}, {"code": "en", "is-active": "true", "name": "English"}, {"code": "ru", "is-active": "false", "name": "Русский"}, {"code": "oo", "is-active": "false", "name": "O;o,"}] # "item:parent:intents": [{"url": "/intent/19001/", "title": "Programming too difficult"}] "item:title": "Can A* be used to generate algorithm sourcecode?" "item:summary": "I thought of an idea to use a* algorithm to "walk" toward a solution that solves a programming problem. Each neighbour can be a weighted list of programming tasks such as if statement, for each, assignment, recursive call. How do you map example data structures transformations to code that fulfils the changes to the data structure? You need a cost function that decreases when the output gets nearer to the solution. What does the cost function for code solving a problem look similar to?" "item:voting": 0 "item:voting:add": "/admin/hlog/voting/add/?method=139001" "item:voting:csrf_token": "Kcvmih8wolQ15VaJoFbSl8q9RpKsLBPdfHkuWbs4v4HGntfeXwZOdoqYpkk01pO5" "item:voting:submit-value-option": {"selected": "[-]", "value": "-"} "item:voting:submit-value-option": {"selected": "[+]", "value": "+"} "item:base-administration": false "item:body": | If you project the desired code variables onto a multidimensional space and with a time dimension, where each variable has a assignment algebra you can imagine the input code causing movements to the output algebra for each variable How do you measure that a solution gets nearer to the solution when you haven't planned what you could do It should be a multidimensional walk toward a solution that solves the programming problem. I want to generate the btree algorithm and other algorithms with this approach I should provide example inputs to output mappings and join the Data between the input and output and try recalculate the processing steps to go from one to the other but I am having problems deciding what the cost function looks like. "item:source-date": "" "item:permalink": "/method/139001/?l=en" "item:owner": "chronological" "item:created": "2022-05-18T08:06:56.151167" "item:ownerlink": "/user/198/chronological" # "item:link:items": "item:link:add": "/admin/hlog/link/add/?parent=139001" "item:project:items": "item:project:add": "/admin/hlog/project/add/?parent=139001" "item:comment:add": "/methods/addnote?parent=139001" "item:comment:add:csrf_token": "Kcvmih8wolQ15VaJoFbSl8q9RpKsLBPdfHkuWbs4v4HGntfeXwZOdoqYpkk01pO5" "item:comment:form": |