Support transferring and cloning of agents between models
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Non vengono indicati file, test o punti di ingresso. Inizia individuando il codice esistente per il trasferimento di model, turtle, breed e link e i relativi test, quindi chiarisci la semantica di move/clone e il comportamento dei link non risolti. Il lavoro sarà completato quando i comandi di trasferimento supportati e le regole di compatibilità saranno implementati, con test per variabili corrispondenti, shapes, posizioni e blocchi di inizializzazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Turtles:
ls:move <source-model> <reporter-of-turtle/turtleset> <target-mode> <optional-initialization-block>- Can transfer/clone (kill in one, create in another) between models with the same turtle/breed variable names. That is, can copy if:
- Does a breed with the same name as the turtle's breed exist in the target model?
- Take all the names of the turtle's turtle and breed vars. Do variables with the same names exist in the target model?
- Does the turtle's shape exist in the target model? (we could just default shape if not)
- If yes to these questions, can transfer.
- Variables are matched up by name, except for position
- Position is tough since the worlds will have different dimensions, and even if they have the same dimensions, it's unlikely that the user will want the turtle's position to be preserved. Right now, I think the turtle should just appear at 0,0, and there should be an optional command block that it runs upon creation that receives
xcoras?1andycoras?2.
Patches:
- Clone only
Links:
- Not sure
- Lingua principale
- Scala
- Stelle
- 20
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NetLogo/LevelSpace
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
NetLogo/LevelSpace#151 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
NetLogo/LevelSpace#146 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
NetLogo/LevelSpace#141 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NetLogo/LevelSpace#134 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NetLogo/LevelSpace#133 · 4 commenti ·
Tutte le issue di NetLogo/LevelSpace
Issue simili
-
Area: Excel support
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
orbeon/orbeon-forms#7893 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
lichess-org/lila#21788 · 2 commenti ·
-
area:Iceberg area:writer documentation requires-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/datafusion-comet#6147 ·
-
feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
GiganticMinecraft/SeichiAssist#2978 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
chipsalliance/rocket-chip#3833 ·