This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright (c) 2019 Andrey Akinshin | |
// Licensed under The MIT License https://opensource.org/licenses/MIT | |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
/// <summary> | |
/// The ED-PELT algorithm for changepoint detection. | |
/// | |
/// <remarks> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
public class Heap<T> | |
{ | |
List<T> a = new List<T>(); | |
Comparer<T> comparer; | |
public Heap(Comparer<T> comparer) | |
{ |
OlderNewer