Skip to content

Instantly share code, notes, and snippets.

@Inviz
Last active August 29, 2015 14:16
Show Gist options
  • Select an option

  • Save Inviz/2d307cc1f4def9bbd746 to your computer and use it in GitHub Desktop.

Select an option

Save Inviz/2d307cc1f4def9bbd746 to your computer and use it in GitHub Desktop.
engine = new GSS({
A: 1,
B: 2,
LIMIT: 10
});
e.solve([
['==', ['get', 'C'], ['+', ['get', 'B'], 2]],
['==', ['get', 'E'], ['/', ['get', 'C'], 2]],
['<=', ['get', 'E'], ['get', 'LIMIT']]
])
engine.solve({
A: 2
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment