投稿

9月, 2018の投稿を表示しています

Optimal Rectangle Packing

イメージ
Keywords: Xamarin.Forms, Animation, async/await, Task, TranslateTo, RotateTo, Anchor, 2D Rectangle Packing, Optimization, Near-Fit Decreasing Height, Fast-Fit Decreasing Height, Best-Fit Decreasing Height, NFDH, FFDH, BFDH, Bottom-Left method, Simulated Annealing I tried 2D Rectangle Packing problem, and additionally developed animations of blocks moving. I have learned Xamarin animations such as TranslateTo and RotateTo, async and await, as well as 2D Packing algorithms. A screen shot of the iOS Simulator just after launching the App. MainPage.xaml <? xml  version = " 1.0 "  encoding = " utf-8 " ?> < ContentPage   xmlns = " http://xamarin.com/schemas/2014/forms "                 xmlns : x = " http://schemas.microsoft.com/winfx/2009/xaml "                 xmlns : local = " clr-namespace:OptPacking "                 x : Class = " OptPacking.MainPage " >      < Grid   RowSpacing = " 0 "