Lecture

Water Pouring Problem: Strategy and Code

In course
DEMO: ad nostrud qui eiusmod
Elit duis cupidatat in duis amet culpa consequat duis veniam elit ad nisi elit. Amet aute ad sunt irure laborum deserunt velit minim amet ipsum cupidatat officia. Do minim amet nulla est nostrud exercitation. Deserunt id elit incididunt nisi. Ullamco reprehenderit ex cupidatat minim laboris id in. Velit exercitation eiusmod nostrud irure non velit do aliqua amet consectetur ullamco esse minim laboris.
Login to see this section
Description

This lecture introduces the Water Pouring Problem, where the goal is to fill a glass with a specific amount of water using only pouring actions. The instructor explains the strategy to solve the problem and provides code examples in Scala, focusing on defining the problem, moves, and solutions. Different variants and design principles for good software design are also discussed.

Instructors (2)
voluptate eiusmod
Deserunt nisi ex consequat sint voluptate mollit anim minim aliquip occaecat proident sit. Ea consectetur ullamco commodo pariatur tempor proident mollit. Reprehenderit in ipsum non exercitation commodo et sunt nisi aliquip nisi elit aute aute. Do esse ullamco ex cupidatat eiusmod pariatur duis aliquip velit. Mollit voluptate cupidatat deserunt minim cupidatat culpa cillum ex mollit ut.
quis in velit
Eiusmod fugiat ullamco ullamco ea laboris velit id pariatur ut qui laboris do velit. Ipsum enim amet reprehenderit nisi ipsum. Voluptate exercitation sint adipisicing consectetur ex aliquip excepteur irure eiusmod nulla consequat laborum. Labore sit duis non duis quis enim pariatur cillum veniam eiusmod incididunt culpa velit. Veniam voluptate elit excepteur consectetur eiusmod reprehenderit. Pariatur sint laboris consectetur esse amet culpa.
Login to see this section
About this result
This page is automatically generated and may contain information that is not correct, complete, up-to-date, or relevant to your search query. The same applies to every other page on this website. Please make sure to verify the information with EPFL's official sources.
Related lectures (29)
Training for Experts in Digital Education
Emphasizes selecting images to evoke positive emotions and clarify training content in digital education.
Waterway Development: Hazard Assessment and Risk Management
Explores hazard assessment and risk management for waterway development, emphasizing the importance of making hazard maps and considering various intensity levels.
Water Quality Modelling
Explores water quality modelling, focusing on carbonate chemistry reactions and the use of PHREEQC software for water softening simulations.
Sustainable Development Goals: Individual and Collective Actions
Emphasizes the role of individual and collective actions in achieving sustainability through the Sustainable Development Goals and the successes of the Millennium Development Goals.
Sustainable Development: Social Progress and Collective Action
Examines sustainable development, emphasizing the interplay between individual and collective actions in achieving social progress.
Show more

Graph Chatbot

Chat with Graph Search

Ask any question about EPFL courses, lectures, exercises, research, news, etc. or try the example questions below.

DISCLAIMER: The Graph Chatbot is not programmed to provide explicit or categorical answers to your questions. Rather, it transforms your questions into API requests that are distributed across the various IT services officially administered by EPFL. Its purpose is solely to collect and recommend relevant references to content that you can explore to help you answer your questions.