Click or drag to resize

instanceCountCollectionT Class

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Collection that counts how many same instances were "added"
Inheritance Hierarchy

Namespace:  imbSCI.DataComplex.special
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public class instanceCountCollection<T> : changeBindableBase, 
	IEnumerable<T>, IEnumerable, IComparable, ICollection
Request Example View Source

Type Parameters

T

The instanceCountCollectionT type exposes the following members.

Constructors
  NameDescription
Public methodinstanceCountCollectionT
Initializes a new instance of the instanceCountCollectionT class
Top
Properties
  NameDescription
Public propertyavgFreq
Description of $property$
Public propertyChanges
Gets or sets the changes.
(Inherited from changeBindableBase.)
Public propertycompareModeDefault
Default compare mode used when compared against another instance
Public propertyCount
Gets the number of elements contained in the ICollection.
Public propertydiversityAntiRatio
Description of $property$
Public propertydiversityAntiValue
Description of $property$
Public propertydiversityRatio
Description of $property$
Public propertyentropyFreq
Entropy of the sample
Public propertyHasChanges
Gets a value indicating whether this instance has changes.
(Inherited from changeBindableBase.)
Public propertyIsFixedSize
Gets a value indicating whether the IDictionary object has a fixed size.
Public propertyIsReadOnly
Gets a value indicating whether the IDictionary object is read-only.
Public propertyIsSynchronized
Public propertyItem
Gets or sets the Object with the specified key.
Public propertyKeys
Gets an ICollection object containing the keys of the IDictionary object.
Public propertymaxFreq
The highest frequency
Public propertymedianFreq
The median of frequency
Public propertyminFreq
The lowest frequency
Public propertyrange
Description of $property$
Public propertystandardDeviation
Standard deviation in the fequencies
Public propertySyncRoot
Public propertyTotalScore
Gets the total score - sum of all frequencies. It is total count of all instance in the sample.
Public propertyValues
Gets an ICollection object containing the values in the IDictionary object.
Public propertyvarianceFreq
Variance of the frequencies
Top
Methods
  NameDescription
Public methodAddInstance(Object, Object)
Adds an element with the provided key and value to the IDictionary object.
Public methodAddInstance(T, String)
Adds the specified item.
Public methodAddInstanceRange(IEnumerableT)
Public methodAddInstanceRange(instanceCountCollectionT)
Adds all instances and their existing score
Public methodbuildDataTableSummaryRow
Builds the data table summary row.
Public methodbuildDataTableSummaryTable
Builds the vertical table with all data
Public methodbuildSampleFequencyTableSorted
Builds the data table with statistics
Public methodClear
Removes all elements from the IDictionary object.
Public methodCompareTo(Object)
Compares to.
Public methodCompareTo(instanceCountCollectionFormulae, IInstanceCountCollection)
Compares to.
Public methodContains
Determines whether the IDictionary object contains an element with the specified key.
Public methodCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
Public methodDivideAllFrequencies
Public methodDivideFrequency
Public methodGetChanges
Gets the changes.
(Inherited from changeBindableBase.)
Public methodgetDataTableHorizontal
Public methodgetDataTableVertical
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetRFreq
Returns relative frequency calculated as follows: absolute frequency divided by maximum frequency: rF = aF / maxF
Public methodGetRFreqArray
Returns Array of relative frequencies
Public methodgetSorted
Gets the sorted list with all instances
Public methodInvokeChanged
Sets current state of the object to be Changed (i.e. from now on the object will know it had some changes since last Accept call);
(Inherited from changeBindableBase.)
Public methodisKeyZero
Public methodOnPropertyChanged
Kreira event koji obaveštava da je promenjen neki parametar
(Inherited from changeBindableBase.)
Public methodreCalculate
Recalculates frequency statistics
Public methodReduce(instanceCountCollectionT)
Reduces this scores by specified source.
Public methodReduce(T, Int32)
Public methodReduceFreqAll
Reduces the freq to all items for the number specified
Public methodRemove
Removes the element with the specified key from the IDictionary object.
Public methodRemoveUnderFreg
Removes the entries having frequency under specified value
Public methodToStringFormatted
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when a property value is changed
(Inherited from changeBindableBase.)
Top
Extension Methods
  NameDescription
Public Extension MethodBuildDataShema
Builds the data table.
(Defined by PropertyDataStructureTools.)
Public Extension MethodbuildDataTable(String, Boolean, Boolean, PropertyCollectionExtended, String)Overloaded.
2017::Builds data table out of collection. Supported properties: primitives, enums and IGetFromToString interface types
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTable(String, DataTableBuildersbuildDataTableOptions, PropertyCollectionExtended, String, ILogBuilder)Overloaded.
2017:: Builds horizontal data table with columns mapping properties of the type.
(Defined by DataTableBuilders.)
Public Extension MethodbuildDataTable(String, Boolean, Boolean, Boolean, PropertyCollectionExtended, String)Overloaded.
Builds the horizontal data table
(Defined by DataTableBuilders.)
Public Extension MethodBuildDataTableHorizontal
Builds the data table using reflection and selected columns. Supports formating instruction, expression and other advanced atributes
(Defined by PropertyDataStructureTools.)
Public Extension MethodbuildDataTableVerticalSummaryTable
Builds the vertical table with all data
(Defined by DataTableBuilders.)
Public Extension MethodbuildPCE
Public Extension MethodbuildPropertyCollectionT
Create or update property collection out of object properties
(Defined by imbPropertyCollectionExtensions.)
Public Extension MethodbuildPropertyCollectionList
Builds the property collection list from IEnumerable source collection
(Defined by imbPropertyCollectionExtensions.)
Public Extension MethodchangeValueAsInt32
Changes the value as int32.
(Defined by imbValueChangers.)
Public Extension MethodchangeValueDouble
Step je 0.01
(Defined by imbValueChangers.)
Public Extension MethodConstructTableWithRandomContent
Constructs the data table and populates with random content of the table with.
(Defined by imbDataTableExtensions.)
Public Extension MethodConvertIListT, TTarget
Converts an IList to List
(Defined by collectionExtensions.)
Public Extension MethodConvertListT, TTarget (Defined by collectionExtensions.)
Public Extension MethodConvertToListTTarget (Defined by collectionExtensions.)
Public Extension Methodcount
Universal counting
(Defined by collectionExtensions.)
Public Extension MethodCreateNestedDataTableT, TInner
Creates the nested data table. http://stackoverflow.com/questions/33823820/convert-generic-nested-list-to-datatable
(Defined by DataTableETL.)
Public Extension MethodGetAggregatesT
Gets aggregated version of the objects
(Defined by collectionAggregation.)
Public Extension MethodgetAllEnums
Gathers all enumerations found in the collection
(Defined by collectionExtensions.)
Public Extension MethodgetAllOfTypeT
Gets the first instance of type in supplied collection. makeNewIfNotFound
(Defined by collectionExtensions.)
Public Extension MethodGetChartDataTableT
Makes data table for chart
(Defined by UniversalGenerators.)
Public Extension MethodGetCrossSectionT
Gets the cross section: only items that are in common to all collections
(Defined by collectionExtensions.)
Public Extension MethodgetDataTypeSafe
V3.5> Experimentalna funkcija - na osnovu tipa vrsi konverziju
(Defined by imbStringCommonTools.)
Public Extension MethodGetDefaultValueT
Vraca tipiziranu podrazumevanu vrednost
(Defined by imbTypologyHelpers.)
Public Extension MethodgetDescriptionForDictionary
Gets the description for dictionary, property table etc
(Defined by settingsEntriesInfoModelApi.)
Public Extension MethodgetDictionaryFromMappedSource
Vraca recnik sa vrednostima iz objekta.
(Defined by propertyMappingTools.)
Public Extension MethodGetDifferenceT (Defined by collectionExtensions.)
Public Extension MethodgetEnumMemberPath
Vraca enum member path koji moze da se koristi za preuzimanje enumeracije i njenog tipa
(Defined by imbEnumExtendBase.)
Public Extension MethodGetExpressionResolved
Resolves the specified expresion path, having host as starting node
(Defined by PropertyExpressionTools.)
Public Extension MethodgetFirstOfTypeT
Gets the first instance that is compatibile with T in supplied collection. Supports PropertyCollection and other collections
(Defined by collectionExtensions.)
Public Extension MethodgetFirstSafe
Gets the first safe.
(Defined by collectionExtensions.)
Public Extension MethodgetFlatArrayT (Defined by collectionExtensions.)
Public Extension MethodgetFlatListT (Defined by collectionExtensions.)
Public Extension MethodGetHistogramModelT (Defined by histogramModelExtensions.)
Public Extension MethodgetPathForObject
2014c: Univerzalni konstruktor putanje
(Defined by resourcePathGenerator.)
Public Extension MethodgetPathForObjectAndParent
Univerzalni konstruktor putanje za bilo koji tip i parent
(Defined by resourcePathGenerator.)
Public Extension MethodgetProperty
Retrieves PropertyInfo found on path specified
(Defined by imbTypeQueryExtensions.)
Public Extension MethodgetSPEC (Defined by imbTypeQueryExtensions.)
Public Extension MethodgetStringValue
2013a> bezbedno vraca string verziju prosledjene vrednosti - Kreira stringValue
(Defined by imbDataExecutor.)
Public Extension MethodGetSVGChartT (Defined by UniversalGenerators.)
Public Extension MethodGetSVGPieChartT
Gets the SVG pie or doughnut chart.
(Defined by UniversalGenerators.)
Public Extension MethodGetTrendT
Gets the trend from set of objects
(Defined by measureTrendTools.)
Public Extension MethodGetUnionT (Defined by collectionExtensions.)
Public Extension MethodGetUserManual
Generates property manual
(Defined by settingsEntriesTools.)
Public Extension MethodGetUserManualSaved
Gets the user manual saved:
(Defined by settingsEntriesTools.)
Public Extension MethodgetValuesFromMappedSource (Defined by propertyMappingTools.)
Public Extension MethodimbAttributeToProperties
Prebacuje vrednost iz atributa u propertije - u skladu sa podesenim mapiranjem (imbAttributeName.metaValueFromAttribute)
(Defined by imbAttributeTools.)
Public Extension MethodimbConvertValueSafe
2014c> bezbedna konverzija vrednosti
(Defined by imbTypeExtensions.)
Public Extension MethodimbConvertValueSafeTypedT (Defined by imbTypeExtensions.)
Public Extension MethodimbFirstOrMoreT
Vraca jedan ili vise resursa koji ispunjavaju uslov
(Defined by collectionExtensions.)
Public Extension MethodimbFirstSafe(Int32)Overloaded.
Imbs the first safe.
(Defined by collectionExtensions.)
Public Extension MethodimbFirstSafeT(FuncT, Boolean)Overloaded.
Proverava uslov
(Defined by collectionExtensions.)
Public Extension MethodimbFirstSafeT(Int32)Overloaded.
Proverava uslov
(Defined by collectionExtensions.)
Public Extension MethodimbGetAllProperties
Vraca sve propertije iz objekta koji su Public i Instance. Vraca i nasledjene propertije ali ako su pregazeni onda vraca samo najnoviji
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetAllValues
Vraca sve vrednosti iz svih propertija koji su Public i Instance
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetCodeMark (Defined by imbStringExtensions.)
Public Extension MethodimbGetIndexOf
Gets index of item in an unknown enumeration
(Defined by collectionExtensions.)
Public Extension MethodimbGetItemAt
Universal method for getting element out of unknown IEnumerable
(Defined by collectionExtensions.)
Public Extension MethodimbGetPropertySafe(String, Object, String)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object)Overloaded.
2013> Sigurno preuzimanje vrednosti objekta - podržava path:
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded. (Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbGetPropertySafeT(PropertyInfo)Overloaded.
2014:Maj - uzima property i odmah vrsi bezbednu konverziju!
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbLastSafeT
Imbs the last safe.
(Defined by collectionExtensions.)
Public Extension MethodimbPropertyToString
Sigurno iscitavanje stringa
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertyConvertSafe
Algoritam sa konverzijom koja podrzava i Collection objekta koji imaju Add method.
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(String, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbSetPropertySafe(PropertyInfo, Object, Boolean, Object, Boolean)Overloaded.
2013> Sigurano postavljanje vrednosti objekta
(Defined by imbTypologyPropertyGetSet.)
Public Extension MethodimbToBoolean
Konvertuje bilo koju vrednost u Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodimbToEnumeration(Type, Enum)Overloaded.
Convers an value to the best fit Enumeration member
(Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToEnumerationTOverloaded. (Defined by imbTypeEnumExtensions.)
Public Extension MethodimbToInstance
Konvertuje u potrebni tip. Ukoliko postoji konstruktor sa parametrom koji je IsInstanceOfType(input) onda ce koristit njega
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumber(Type)Overloaded.
Konvertuje u broj prema zadatom tipu
(Defined by imbTypeExtensions.)
Public Extension MethodimbToNumberT(Type)Overloaded. (Defined by imbTypeExtensions.)
Public Extension MethodisCoreColumn (Defined by PropertyEntryColumnExtensions.)
Public Extension MethodisNullOrEmptyOverloaded.
Proverava da li je kolekcija null ili bez clanova
(Defined by collectionExtensions.)
Public Extension MethodisNullOrEmptyOverloaded. (Defined by imbSciStringExtensions.)
Public Extension MethodisNullOrEmptyString
Proverava da li je input null, ako je string onda ga proverava kao string ako je neki drugi objekat onda ga predvara u string pa proverava
(Defined by imbSciStringExtensions.)
Public Extension MethodkeyToString (Defined by imbPropertyCollectionExtensions.)
Public Extension MethodmarkdownList
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringMarkdownExtensions.)
Public Extension MethodRandomizeToListT
Returns a new list where the elements are randomly shuffled. Based on the Fisher-Yates shuffle, which has O(n) complexity.
(Defined by collectionExtensions.)
Public Extension MethodrenderToTemplate
Vraca string koji definise placeholder u template stringu
(Defined by stringTemplateTools.)
Public Extension MethodresolvePath(String, pathResolveFlag)Overloaded.
Najčešće korišćen metod za upit nad putanjom i objektom
(Defined by resourcePathResolver.)
Public Extension MethodresolvePathT(String, pathResolveFlag)Overloaded.
(Defined by resourcePathResolver.)
Public Extension MethodsaveObjectToXML (Defined by objectSerialization.)
Public Extension MethodsetObjectByMappedSource
Primenjuje prosledjenu property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsetObjectBySource
Sets the object by source.
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetObjectValueTypesBySource
Sets the object by source, but only ValueTypes and string and only properties declared at top inherence level. Returns dictionary with updated properties (only if value changed)
(Defined by imbTypeObjectOperations.)
Public Extension MethodsetValuesToMappedTarget
Postavlja vednosti iz recnika u dati ciljani objekat - da bi bilo kompatibilno niz mora biti u istom rasporedu kao i u property mapu
(Defined by propertyMappingTools.)
Public Extension MethodsumValues
Supports> String, Int32, any number via Double and Boolean
(Defined by imbTypeExtensions.)
Public Extension MethodtakeFirstFromListT(T)Overloaded.
Vraca prvi element koji je pronadjen u ulaznom skupu - default vraca prvi element matchList
(Defined by collectionExtensions.)
Public Extension MethodtakeFirstFromListT(IEnumerableT, T)Overloaded.
Vraca prvi objekat koji se nalazi i u ovom skupu i u matchList skupu
(Defined by collectionExtensions.)
Public Extension MethodtextList
Creates list from collection of [strings, IEnumerable or Objects]
(Defined by imbStringTextExtensions.)
Public Extension MethodtoCsvFileT
2017: Saves CSV to file from path
(Defined by csvFileExtensions.)
Public Extension MethodtoCsvInLine
Renders CSV line from [!:object.toStringSafe()], [!:separator] is removed from item String
(Defined by imbDataExtensions.)
Public Extension MethodtoExpressionString
Returns expression-ready string, wrapped in proper quotes if required
(Defined by imbStringFormats.)
Public Extension MethodtoListT
Konvertuje niz u listu
(Defined by collectionExtensions.)
Public Extension MethodtoStringSafeOverloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String)Overloaded. (Defined by imbStringFormats.)
Public Extension MethodtoStringSafe(String, String)Overloaded.
Bezbedna konverzija u String -- ako je null onda valueForNull
(Defined by imbStringFormats.)
Top
See Also