Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax do opisywania optymalizacji #2

Closed
pyetras opened this issue Jun 17, 2015 · 1 comment
Closed

Syntax do opisywania optymalizacji #2

pyetras opened this issue Jun 17, 2015 · 1 comment
Milestone

Comments

@pyetras
Copy link
Owner

pyetras commented Jun 17, 2015

funkcja typu Nondet => Tabelka

@pyetras pyetras added this to the Sprint #1 milestone Jun 17, 2015
@pyetras
Copy link
Owner Author

pyetras commented Jun 24, 2015

Syntax w duchu LINQ

val q = optimize (x, y) map { xy =>
  val result = to(branin _) apply xy
  Tuple1(result)
} orderBy Tuple1('x0)
val r = q.filter(Tuple1('$nIteration))({(iter: Row[Int]) => iter(0) <= 10})

dump(r) //TODO #3

Tuple1 ponieważ scala nie posiada syntax sugar dla krotek z jednym elementem. Issue #7 i #8 powinny rozwiązać problem wizerunkowy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant