Spaces:
Sleeping
Sleeping
Commit
·
ffc3319
1
Parent(s):
ea7fc19
Update README
Browse files
README.md
CHANGED
|
@@ -42,12 +42,16 @@ optional arguments:
|
|
| 42 |
For example, to synthesize programs in the arithmetic domain from the addition input-output examples, run:
|
| 43 |
```
|
| 44 |
python synthesis.py --domain arithmetic --examples addition
|
|
|
|
|
|
|
| 45 |
- Extracted 9 constants from examples.
|
| 46 |
- Searching level 2 with 9 primitives.
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
Program
|
| 50 |
-
Program
|
|
|
|
|
|
|
| 51 |
```
|
| 52 |
|
| 53 |
We could also try a more involved example in the string domain:
|
|
|
|
| 42 |
For example, to synthesize programs in the arithmetic domain from the addition input-output examples, run:
|
| 43 |
```
|
| 44 |
python synthesis.py --domain arithmetic --examples addition
|
| 45 |
+
|
| 46 |
+
Synthesis Log:
|
| 47 |
- Extracted 9 constants from examples.
|
| 48 |
- Searching level 2 with 9 primitives.
|
| 49 |
+
|
| 50 |
+
Synthesis Results:
|
| 51 |
+
- Program found in 0.0033s.
|
| 52 |
+
- Program: (x0 + x1)
|
| 53 |
+
- Program weight: 3
|
| 54 |
+
- Program return type: int
|
| 55 |
```
|
| 56 |
|
| 57 |
We could also try a more involved example in the string domain:
|