Convex Package Summary

Source: Internet
Author: User

The knowledge about convex hull is not difficult to understand, and a little look can understand the process and principle of convex package.

1. What is a convex bag?

In a real vector space V, for a given set X, all the intersection s of the convex sets that contain x are called convex packages of x. (from Baidu Encyclopedia)

In layman's terms, convex hull is a convex polygon which can be included in all the points in the plane. Put a picture to understand, the red border in the picture is a convex hull.

2. How do I achieve this?

The implementation of convex hull is actually very simple. First find the bottom point in the plane (that is, the point at the bottom of the y-coordinate) u, which is definitely on the convex hull. The poles are then sorted by this point. What is the polar sort, the polar sort is sorted from small to large based on the slope of a line connected to a point u?

Waiting for Updates ~

Convex Package Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.