|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectinfomat.algorithms.reduction.SizeReducer
public class SizeReducer
Reduces IObjectGroups and IObjectGroupings compared to an other. The class can reduce both in order of the IObject:s in each IObjectGroup or in random order.
Field Summary | |
---|---|
(package private) Properties |
properties
|
Constructor Summary | |
---|---|
SizeReducer()
|
|
SizeReducer(Properties properties)
|
Method Summary | |
---|---|
Properties |
getDefaultProperties()
|
Properties |
getProperties()
|
java.lang.Object |
getPropertyValue(java.lang.String name)
|
static IObjectGrouping |
reduceGroupingToSizeOfOtherGroupingInOrder(IObjectGrouping ioging,
IObjectGrouping redIOGING,
IMatrix matrix)
Note: does not handle missing zero-sized groups!!! |
static IObjectGrouping |
reduceGroupingToSizeOfOtherGroupingRandomly(IObjectGrouping ioging,
IObjectGrouping redIOGING,
IMatrix matrix)
Note: does not handle missing zero-sized groups!!! |
static IObjectGroup |
reduceGroupToSizeOfOtherGroupInOrder(IObjectGroup iog,
IObjectGroup redIOG)
Makes a new IObjectGroup that consists of the top IObject:s of "iog". |
static IObjectGroup |
reduceGroupToSizeOfOtherGroupRandomly(IObjectGroup iog,
IObjectGroup redIOG)
Makes a new IObjectGroup that consists of the top IObject:s of "iog". |
void |
setProperties(Properties properties)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
Properties properties
Constructor Detail |
---|
public SizeReducer()
public SizeReducer(Properties properties)
Method Detail |
---|
public Properties getDefaultProperties()
public java.lang.Object getPropertyValue(java.lang.String name)
public void setProperty(java.lang.String name, java.lang.Object value) throws PropertyNotFoundException
PropertyNotFoundException
public Properties getProperties()
public void setProperties(Properties properties)
public static IObjectGrouping reduceGroupingToSizeOfOtherGroupingInOrder(IObjectGrouping ioging, IObjectGrouping redIOGING, IMatrix matrix)
public static IObjectGroup reduceGroupToSizeOfOtherGroupInOrder(IObjectGroup iog, IObjectGroup redIOG)
public static IObjectGrouping reduceGroupingToSizeOfOtherGroupingRandomly(IObjectGrouping ioging, IObjectGrouping redIOGING, IMatrix matrix)
public static IObjectGroup reduceGroupToSizeOfOtherGroupRandomly(IObjectGroup iog, IObjectGroup redIOG)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |