/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/clustering/ |
KMeansPlusPlusClusterer.java | 31 * @param <T> type of the points to cluster 38 /** Strategies to use for replacing an empty cluster. */ 41 /** Split the cluster with largest distance variance. */ 44 /** Split the cluster with largest number of points. */ 47 /** Create a cluster around the point farthest from its centroid. */ 64 * algorithm iterations is to split the cluster with largest distance variance. 86 * @param points the points to cluster 92 public List<Cluster<T>> cluster(final Collection<T> points, method in class:KMeansPlusPlusClusterer 95 List<Cluster<T>> clusters = chooseInitialCenters(points, k, random) 147 Cluster<T> cluster = getNearestCluster(clusters, p); local [all...] |
Cluster.java | 25 * Cluster holding a set of {@link Clusterable} points. 30 public class Cluster<T extends Clusterable<T>> implements Serializable { 35 /** The points contained in this cluster. */ 38 /** Center of the cluster. */ 42 * Build a cluster centered at a specified point. 43 * @param center the point which is to be the center of this cluster 45 public Cluster(final T center) { 51 * Add a point to this cluster. 59 * Get the points contained in the cluster. 60 * @return points contained in the cluster [all...] |
/external/libgdx/extensions/gdx-bullet/jni/swig-src/softbody/com/badlogic/gdx/physics/bullet/softbody/ |
btSoftClusterCollisionShape.java | 63 public void setCluster(btSoftBody.Cluster value) { 64 SoftbodyJNI.btSoftClusterCollisionShape_cluster_set(swigCPtr, this, btSoftBody.Cluster.getCPtr(value), value); 67 public btSoftBody.Cluster getCluster() { 69 return (cPtr == 0) ? null : new btSoftBody.Cluster(cPtr, false); 72 public btSoftClusterCollisionShape(btSoftBody.Cluster cluster) { 73 this(SoftbodyJNI.new_btSoftClusterCollisionShape(btSoftBody.Cluster.getCPtr(cluster), cluster), true);
|
SoftbodyJNI.java | 325 public final static native void btSoftBody_Cluster_masses_set(long jarg1, btSoftBody.Cluster jarg1_, long jarg2, btScalarArray jarg2_) [all...] |
btSoftBody.java | 4089 SoftbodyJNI.btSoftBody_clusterVImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, impulse); local 4093 SoftbodyJNI.btSoftBody_clusterDImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, impulse); local 4097 SoftbodyJNI.btSoftBody_clusterImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, rpos, btSoftBody.Impulse.getCPtr(impulse), impulse); local 4101 SoftbodyJNI.btSoftBody_clusterVAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse); local 4105 SoftbodyJNI.btSoftBody_clusterDAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse); local 4109 SoftbodyJNI.btSoftBody_clusterAImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, btSoftBody.Impulse.getCPtr(impulse), impulse); local 4113 SoftbodyJNI.btSoftBody_clusterDCImpulse(btSoftBody.Cluster.getCPtr(cluster), cluster, impulse); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libwebm/ |
mkvparser.hpp | 75 class Cluster;
92 long long GetTimeCode(const Cluster*) const; //absolute, but not scaled
93 long long GetTime(const Cluster*) const; //absolute, and scaled (ns)
115 short m_timecode; //relative to cluster
130 BlockEntry(Cluster*, long index);
136 const Cluster* GetCluster() const;
144 Cluster* const m_pCluster;
156 SimpleBlock(Cluster*, long index, long long start, long long size);
175 Cluster*,
612 long long m_pos; //of cluster
[all...] |
mkvparser.cpp | 707 Cluster** i = m_clusters;
708 Cluster** j = m_clusters + count;
712 Cluster* const p = *i++;
910 if (id == 0x0F43B675) //Cluster ID
1075 long long cluster_size = -1; //size of cluster payload
1168 #if 0 //commented-out, to support incremental cluster parsing
1196 if (id != 0x0F43B675) //Cluster ID
1205 //We have a cluster.
1215 assert(cluster_off >= 0); //have cluster
1220 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); [all...] |
/external/libvpx/libvpx/third_party/libwebm/ |
mkvparser.hpp | 71 class Cluster; 84 long Parse(const Cluster*); 87 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled 88 long long GetTime(const Cluster*) const; // absolute, and scaled (ns) 111 short m_timecode; // relative to cluster 126 BlockEntry(Cluster*, long index); 132 const Cluster* GetCluster() const; 140 Cluster* const m_pCluster; 149 SimpleBlock(Cluster*, long index, long long start, long long size); 164 BlockGroup(Cluster*, long index [all...] |
mkvparser.cpp | 684 Cluster** i = m_clusters; 685 Cluster** j = m_clusters + count; 688 Cluster* const p = *i++; 1051 long long cluster_size = -1; // size of cluster payload 1153 // Besides the Segment, Libwebm allows only cluster elements of unknown 1154 // size. Fail the parse upon encountering a non-cluster element reporting 1163 // We have a cluster. 1174 // No cluster, die. 1181 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); 1195 // pos ptr past the most recent cluster parsed, and the [all...] |
mkvmuxer.cpp | 2264 Cluster* const cluster = cluster_list_[i]; local 2531 const Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 2667 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 3007 Cluster*& cluster = cluster_list_[cluster_list_size_]; local 3138 Cluster* const cluster = cluster_list_[i]; local 3184 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 3226 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local [all...] |
mkvmuxerutil.hpp | 66 Cluster* cluster);
|
/external/libvpx/libwebm/mkvparser/ |
mkvparser.h | 69 class Cluster; 82 long Parse(const Cluster*); 85 long long GetTimeCode(const Cluster*) const; // absolute, but not scaled 86 long long GetTime(const Cluster*) const; // absolute, and scaled (ns) 109 short m_timecode; // relative to cluster 124 BlockEntry(Cluster*, long index); 130 const Cluster* GetCluster() const; 138 Cluster* const m_pCluster; 147 SimpleBlock(Cluster*, long index, long long start, long long size); 162 BlockGroup(Cluster*, long index [all...] |
mkvparser.cc | 683 Cluster** i = m_clusters; 684 Cluster** j = m_clusters + count; 687 Cluster* const p = *i++; 1050 long long cluster_size = -1; // size of cluster payload 1152 // Besides the Segment, Libwebm allows only cluster elements of unknown 1153 // size. Fail the parse upon encountering a non-cluster element reporting 1162 // We have a cluster. 1173 // No cluster, die. 1180 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_); 1194 // pos ptr past the most recent cluster parsed, and the [all...] |
/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
remote_bitrate_estimator_abs_send_time.h | 40 struct Cluster { 41 Cluster() 96 const Cluster& cluster_aggregate); 98 static void AddCluster(std::list<Cluster>* clusters, Cluster* cluster); 118 void ComputeClusters(std::list<Cluster>* clusters) const; 120 std::list<Cluster>::const_iterator FindBestProbe( 121 const std::list<Cluster>& clusters) const
|
remote_bitrate_estimator_abs_send_time.cc | 80 const Cluster& cluster_aggregate) { 89 std::list<Cluster>* clusters, 90 Cluster* cluster) { 91 cluster->send_mean_ms /= static_cast<float>(cluster->count); 92 cluster->recv_mean_ms /= static_cast<float>(cluster->count); 93 cluster->mean_size /= cluster->count [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libwebm/ |
mkvparser.hpp | 75 class Cluster; 89 long Parse(const Cluster*); 92 long long GetTimeCode(const Cluster*) const; //absolute, but not scaled 93 long long GetTime(const Cluster*) const; //absolute, and scaled (ns) 117 short m_timecode; //relative to cluster 134 BlockEntry(Cluster*, long index); 140 const Cluster* GetCluster() const; 148 Cluster* const m_pCluster; 160 SimpleBlock(Cluster*, long index, long long start, long long size); 179 Cluster*, [all...] |
mkvparser.cpp | 717 Cluster** i = m_clusters; 718 Cluster** j = m_clusters + count; 722 Cluster* const p = *i++; 920 if (id == 0x0F43B675) //Cluster ID 1105 long long cluster_size = -1; //size of cluster payload 1198 #if 0 //commented-out, to support incremental cluster parsing 1226 if (id != 0x0F43B675) //Cluster ID 1235 //We have a cluster. 1245 assert(cluster_off >= 0); //have cluster 1250 status = Cluster::HasBlockEntries(this, cluster_off, pos_, len_) [all...] |
mkvmuxer.cpp | 2093 Cluster* const cluster = cluster_list_[i]; local 2348 const Cluster* const cluster = cluster_list_[cluster_list_size_-1]; local 2422 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 2488 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 2556 Cluster* const cluster = cluster_list_[cluster_list_size_ - 1]; local 2603 Cluster* const cluster = cluster_list_[cluster_list_size_-1]; local 2957 Cluster*& cluster = cluster_list_[cluster_list_size_]; local 3075 Cluster* const cluster = cluster_list_[i]; local 3121 Cluster* const cluster = cluster_list_[cluster_list_size_-1]; local 3178 Cluster* const cluster = cluster_list_[cluster_list_size_-1]; local [all...] |
/external/ImageMagick/MagickCore/ |
segment.c | 67 % The fuzzy c-Means technique attempts to cluster a pixel by finding 152 } Cluster; 262 Cluster 263 *cluster, 298 cluster=(Cluster *) NULL; 299 head=(Cluster *) NULL; 314 if (head != (Cluster *) NULL) 316 cluster->next=(Cluster *) AcquireMagickMemory 257 *cluster, local 542 *cluster; local 935 *cluster, local [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
TimeClustering.java | 41 // Disregard a cluster split time of anything over 2 hours. 47 // Try and merge 2 clusters if they are both smaller than min cluster size. 48 // The min cluster size can range from 8 to 15. 52 // Try and split a cluster if it is bigger than max cluster size. 53 // The max cluster size can range from 20 to 50. 57 // Initially put 2 items in the same cluster as long as they are within 58 // 3 cluster frequencies of each other. 66 // Make the cluster split time of a large cluster half that of a regula [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libmkv/ |
testlibmkv.c | 47 Ebml_StartSubElement(&ebml, &clusterStart, Cluster); // cluster 53 } // end cluster
|
EbmlIDs.h | 60 /* Cluster */ 61 Cluster = 0x1F43B675,
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletSoftBody/ |
btSoftBody.h | 139 CL_RS = 0x0002, ///Cluster vs convex rigid vs soft 143 CL_SS = 0x0020, ///Cluster vs cluster soft vs soft handling 144 CL_SELF = 0x0040, ///Cluster soft body self collision 318 /* Cluster */ 319 struct Cluster 346 Cluster() : m_leaf(0),m_ndamping(0),m_ldamping(0),m_adamping(0),m_matching(0) 378 Cluster* m_soft; 383 Body(Cluster* p) : m_soft(p),m_rigid(0),m_collisionObject(0) {} 579 btScalar kSRHR_CL; // Soft vs rigid hardness [0,1] (cluster only [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
RegionStore.cpp | 210 const ClusterBindings &Cluster = I.getData(); 211 for (ClusterBindings::iterator CI = Cluster.begin(), CE = Cluster.end(); 242 ClusterBindings Cluster = 245 ClusterBindings NewCluster = CBFactory->add(Cluster, K, V); 257 const ClusterBindings *Cluster = lookup(K.getBaseRegion()); 258 if (!Cluster) 260 return Cluster->lookup(K); 270 const ClusterBindings *Cluster = lookup(Base); 271 if (!Cluster) [all...] |
/external/libvpx/libvpx/ |
webmdec.cc | 38 webm_ctx->cluster = NULL; 50 const mkvparser::Cluster *const cluster = segment->GetFirst(); member in class:__anon16676::mkvparser 51 webm_ctx->cluster = cluster; 134 const mkvparser::Cluster* cluster = local 135 reinterpret_cast<const mkvparser::Cluster*>(webm_ctx->cluster); 145 status = cluster->GetFirst(block_entry) [all...] |