Class ADyadRankedNodeQueueConfig<N>

  • Type Parameters:
    N -
    All Implemented Interfaces:
    ai.libs.jaicore.search.algorithms.standard.bestfirst.IBestFirstQueueConfiguration<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<N,​java.lang.String,​java.lang.Double>,​N,​java.lang.String,​java.lang.Double>
    Direct Known Subclasses:
    RandomlyRankedNodeQueueConfig

    public abstract class ADyadRankedNodeQueueConfig<N>
    extends java.lang.Object
    implements ai.libs.jaicore.search.algorithms.standard.bestfirst.IBestFirstQueueConfiguration<ai.libs.jaicore.search.probleminputs.GraphSearchWithSubpathEvaluationsInput<N,​java.lang.String,​java.lang.Double>,​N,​java.lang.String,​java.lang.Double>
    A configuration for a dyad ranked node queue. Mainly configures the dyad ranker.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IDyadRanker ranker
      the ranker used to rank dyads consisting of pipeline metafeatures and dataset metafeatures
      protected AbstractDyadScaler scaler
      for scaling the dyads
    • Constructor Summary

      Constructors 
      Constructor Description
      ADyadRankedNodeQueueConfig()
      Construct a new dyad ranking node queue configuration.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IDyadRanker getRanker()
      Set the ranker used to rank the OPEN list.
      AbstractDyadScaler getScaler()
      Get the scaler used to scale the dataset.
      void setRanker​(IDyadRanker ranker)
      Set the ranker used to rank the OPEN list.
      void setScaler​(AbstractDyadScaler scaler)
      Set the scaler used to scale the dataset.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface ai.libs.jaicore.search.algorithms.standard.bestfirst.IBestFirstQueueConfiguration

        configureBestFirst
    • Field Detail

      • ranker

        protected IDyadRanker ranker
        the ranker used to rank dyads consisting of pipeline metafeatures and dataset metafeatures
    • Constructor Detail

      • ADyadRankedNodeQueueConfig

        public ADyadRankedNodeQueueConfig()
                                   throws java.io.IOException,
                                          java.lang.ClassNotFoundException
        Construct a new dyad ranking node queue configuration.
        Throws:
        java.io.IOException - if the files for the default ranker and scaler are invalid or cannot be found
        java.lang.ClassNotFoundException - if the default scaler or ranker cannot be instantiated
    • Method Detail

      • getRanker

        public IDyadRanker getRanker()
        Set the ranker used to rank the OPEN list.
        Returns:
        ranker the used ranker
      • setRanker

        public void setRanker​(IDyadRanker ranker)
        Set the ranker used to rank the OPEN list.
        Parameters:
        ranker - the used ranker
      • getScaler

        public AbstractDyadScaler getScaler()
        Get the scaler used to scale the dataset. Is pre-fit.
        Returns:
        the used scaler
      • setScaler

        public void setScaler​(AbstractDyadScaler scaler)
        Set the scaler used to scale the dataset. Must be pre-fit.
        Parameters:
        scaler - the used scaler