encode_Cluster

encode_Cluster

概述

encode_Cluster 是Python的Aspose.Font FOSS中的一个类.

这个类提供了在Python程序中使用encode_Cluster对象的9种方法. 有的方法包括: ClusterCostDiff, ClusterHistograms, CompareAndPushToHeap, HistogramBitCostDistance, HistogramCombine, HistogramPairComparator, HistogramReindex, HistogramRemap, __init__. 在安装Python包的Aspose.Font FOSS后,所有公众成员都可以访问任何 Python 应用程序.

方法

Signature描述情况
__init__()Calls 开始 在这个encode_Cluster实例上.
HistogramPairComparator(p1, p2)比较两个基因图条目p1和p2并返回顺序
ClusterCostDiff(size_a, size_b)计算大小a和b的集群之间的成本差异.
CompareAndPushToHeap(out, cluster_size, idx1, idx2, pairs)将两个集群比较,然后将结果推到堆中.
HistogramCombine(out, cluster_size, symbols, symbols_off, symbols_size, max_clusters)将基因图合并为对max_clusters的组合集群
HistogramBitCostDistance(histogram, candidate)计算一个基因图和候选人之间的比特成本距离.
HistogramRemap(input, in_size, output, symbols)使用符号映射重新绘制输入基因图数据到输出
HistogramReindex(out, symbols)根据所提供的符号重新索引历史图表条目.
ClusterHistograms(input, num_contexts, num_blocks, max_histograms, output, outputInt, histogram_symbols)根据背景和限制,组输入语文图集成.

查看更多

 中文