qq258 / ball-in-box Goto Github PK
View Code? Open in Web Editor NEWThis project forked from renshuhuai-andy/ball_in_box
week1 homework for software engineering 2018Spring
Home Page: https://github.com/RenShuhuai-Andy/ball-in-box
This project forked from renshuhuai-andy/ball_in_box
week1 homework for software engineering 2018Spring
Home Page: https://github.com/RenShuhuai-Andy/ball-in-box
this repository is used to store homework for software engineering 2018Spring members in this group:Shuhuai Ren,Junao Liu,Zhenyu Zhou,Xiaohu Luo,Guanhua Zhao,Xingyu Zhou,Xiaoyang Qi. ******************************************************************************************************************** week1: Warm-up Project: In a box bounded by [-1, 1], given m balloons(they cannot overlap) with variable radio r and position mu. And some tiny blocks are in the box at given position {d}; balloons cannot overlap with these blocks. find the optimal value of r and mu which maximizes sum r^2. Tasks: found a team of 7. write a user story. break down the user story to tasks. be familiar with git. think out your algorithm to solve the problem. write down your test cases. start to code with Python. use git to store your coding progress and document. 算法:box预设的长和宽的范围都是[-1, 1],长度均为2;因此,每行取长度*100个点,每列取宽度*100个点;这样总共就有2*100*2*100个点,把这些点都作为圆心; 算每个圆心到障碍点的距离,取每个圆心对应的最短距离,作为每个圆心对应的半径;将所有的最短距离求出后,取最大的m个,这样就找到了m个满足条件的最大圆 ********************************************************************************************************************
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.