道格拉斯在mssql减少了peucker? [英] Douglas peucker reduction in mssql?

查看:95
本文介绍了道格拉斯在mssql减少了peucker?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有任何实施

Douglas Peucker Reduction in mssql





在x轴上我有时间

和Y轴我有股票价格。



我想减少套装中的积分



我尝试了什么:



我尝试了C#实施

?

On x axis I have time
and on Y axis I have stock price.

I want to reduce the points in set

What I have tried:

I tried C# implementation of

Douglas Peucker Reduction

推荐答案

SQL是一种数据存储介质,而不是极端数学工具。在存储数据点之前或从数据库中检索数据之后使用C#。



这是关于CodeProject上该算法的文章:



AC#道格拉斯的实施-Peucker Line Approximation Algorithm [ ^ ]
SQL is a data storage medium, not an "extreme math" vehicle. Use C# either before your data points are stored in, or after they are retrieved from the database.

Here's an article on that algorithm on CodeProject:

A C# Implementation of Douglas-Peucker Line Approximation Algorithm[^]


这篇关于道格拉斯在mssql减少了peucker?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆