Questions tagged [watchmaker]

10 questions
3
votes
1 answer

Genetic Algorithms: Genes values should sum up to one

I want to implement a genetic algorithm (I'm not sure about the language/framework yet, maybe Watchmaker) to optimize the mixing ratio of some fluids. Each mix consists of up to 5 ingredients a, b, c, d, e, which I would model as genes with changing…
speendo
  • 13,045
  • 22
  • 71
  • 107
2
votes
0 answers

Packer - Unresponsive after Windows VM reboots via Powershell script provisioner

Issue: I cannot get Packer to work when running a powershell script that ends up rebooting the Windows VM after software install. Upon script completion (scripts/watchMaker_stigVM.ps1), the machine will reboot, and Packer moves on to the next…
Gvazzana
  • 583
  • 1
  • 8
  • 21
1
vote
0 answers

Convert altitude to stairs

I have a Huawei Watch 2 which has altitude support using the {aalt} tag in WatchMaker and an Android phone. How can I use this tag to convert to staircases climbed? In the Huawei Health app it shows a "Climbed" reading which it converts to an…
AJL
  • 11
  • 1
1
vote
0 answers

How to Implement cooperative co-evolutionary GA Model on the Watchmaker Framework

I am trying to implement a cooperative co-evolutionary GA based model where I have two populations with different data type and they should interact with each other to produce a better result after each generation. I am using the Watchmaker…
user2891178
  • 11
  • 1
  • 3
0
votes
1 answer

Tap Action script in Lua giving error

im trying to create a simple tap action in lua for a watch face im creating with watchmaker to change one image to another. Basically the idea is, when i tap on the Image1 it will change to Image2. But when i add the code to the editor, it gives me…
0
votes
1 answer

printing a slash character in lua

I'm designing a watch using watchmaker which uses lua, and all i want to do is print the date "tue 2/13". I started with character {ddw} {dn}/{ddz} which returns " '' expected near '2' " I tried wrapping all the requested bits in quotes, but it…
newby JP
  • 59
  • 8
0
votes
1 answer

Gene expression programming [Java]: How to view the members of the population

I'm using a gene expression programming library demo to obtain alternative mathematical expressions. I downloaded all the class files for uncommons.watchmaker framework and created a new project that runs without jar files. Java Project (full source…
SriniShine
  • 1,089
  • 5
  • 26
  • 46
0
votes
1 answer

Tap actions on Android wear watchfaces

So, I know this is undocumented and unsupported and not recommended etc. But, I haven't given up on trying to add a button to an Android watchface. If you are familiar with WatchMaker, you know they support this feature! My guess is that is has…
Ran
  • 1,089
  • 1
  • 12
  • 30
0
votes
2 answers

Watchmaker genetic algorithm combining Termination conditions

Using Stagnation(numGenerations, true) to terminate an evolution in Watchmaker. I would like the numGenerations to depend on how well the evolution is doing. If I have a rotten population (low fitness) then I would like to bail out early. If the…
0
votes
1 answer

getting started with watchmaker api

I am new to Watchmaker framework and interested to build a most basic genetic algorithm solver for tsp to understand how it works and further explore. I have a distance matrix of cities already where each element would be the distance between the…