eGospodarka.pl
eGospodarka.pl poleca

eGospodarka.plGrupypl.comp.programmingStruktury w metodzie zamiatania › Re: Struktury w metodzie zamiatania
  • Path: news-archive.icm.edu.pl!agh.edu.pl!news.agh.edu.pl!newsfeed2.atman.pl!newsfeed.
    atman.pl!.POSTED!not-for-mail
    From: Borneq <b...@a...hidden.pl>
    Newsgroups: pl.comp.programming
    Subject: Re: Struktury w metodzie zamiatania
    Date: Wed, 29 Oct 2014 15:32:05 +0100
    Organization: ATMAN - ATM S.A.
    Lines: 14
    Message-ID: <m2qtq0$tha$1@node2.news.atman.pl>
    References: <m2qgk7$g2l$1@node2.news.atman.pl> <m2ql6s$t5b$1@node1.news.atman.pl>
    <m2qm73$lpk$1@node2.news.atman.pl>
    NNTP-Posting-Host: 91.239.205.62
    Mime-Version: 1.0
    Content-Type: text/plain; charset=utf-8; format=flowed
    Content-Transfer-Encoding: 8bit
    X-Trace: node2.news.atman.pl 1414593152 30250 91.239.205.62 (29 Oct 2014 14:32:32
    GMT)
    X-Complaints-To: u...@a...pl
    NNTP-Posting-Date: Wed, 29 Oct 2014 14:32:32 +0000 (UTC)
    User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101
    Thunderbird/31.2.0
    In-Reply-To: <m2qm73$lpk$1@node2.news.atman.pl>
    Xref: news-archive.icm.edu.pl pl.comp.programming:206826
    [ ukryj nagłówki ]

    W dniu 2014-10-29 o 13:22, bartekltg pisze:
    > http://en.wikipedia.org/wiki/Bentley%E2%80%93Ottmann
    _algorithm
    >
    >
    >> Czy da się zrobić to na std::set?
    >
    > Da się.

    "If p is the crossing point of two segments s and t (with s below t to
    the left of the crossing), swap the positions of s and t in T"

    Chodzi zwłaszcza o "swap the positions", jak to się da zrobić na
    std::set jeśli jest posortowane i mamy podaną funkcję sortującą?

Podziel się

Poleć ten post znajomemu poleć

Wydrukuj ten post drukuj


Następne wpisy z tego wątku

Najnowsze wątki z tej grupy


Najnowsze wątki

Szukaj w grupach

Eksperci egospodarka.pl

1 1 1

Wpisz nazwę miasta, dla którego chcesz znaleźć jednostkę ZUS.

Wzory dokumentów

Bezpłatne wzory dokumentów i formularzy.
Wyszukaj i pobierz za darmo: