If x and y are two independent sets, and x has more elements than y, then there exists an element in x which is not in y that when added to y still gives an independent set. This is called the independent set exchange property.
@isenbaev копаясь в матройдах в одной книжке наткнулся на фразу: While matroids serve as a good abstract model for greedy algorithms, a general model for dynamic programming is being currently developed.
@isenbaev копаясь в матройдах в одной книжке наткнулся на фразу: While matroids serve as a good abstract model for greedy algorithms, a general model for dynamic programming is being currently developed.
Дан граф с n (100000) вершинами, m(300000) ребрами. Из каждой вершины выходит не более D(12) ребер. Какая будет асимптотика, и как ее доказать, если перебрать для каждой вершины графа маску ее соседей? (2^12 * 12, если соседей 12.)